The str string type in the project currently allocates heap memory for every string, even very short ones…
The str string type in the project currently allocates heap memory for every string, even very short ones…: a task in LegoFlow-SWE (Harbor dataset). We need to improve the str type with a small‑string optimization (SSO) and capacity tracking , without increasing the size of the struct. The desired…
The task
We need to improve the `str` type with a **small‑string optimization (SSO)** and **capacity tracking**, without increasing the size of the struct. The desired behavior is:
Part of Lego-X/LegoFlow-SWE.