|
|
|
|
|
by legulere
3620 days ago
|
|
> We have one string type defined in std, and nobody is defining new ones (modulo special cases for legacy encodings which would not be worth polluting the default string type with). There's also `inlinable_string`, `string_cache`, `tendril`, `intern` if you need inlining for performance. The bigger problem is with other things like 2D/3D points which can be (f32, f32), [f32; 2] or a custom struct. |
|