3 ms·
> > Sure, but there's nothing native. > But why? strings are used by all programmers everyday Different kinds of strings can have extremely different performa
by thephyber 4y ago
> > Sure, but there's nothing native.
> But why? strings are used by all programmers everyday
Different kinds of strings can have extremely different performance profiles.
A statically allocated string of ASCII (single byte) characters.
A dynamically allocated string of unicode (multibyte) characters where the length of allocation is not known ahead of time is very different. C requires the developer to know the differences and knows how to deal with them treat them.