3 ms·
This is not true on iOS for most strings.
by saagarjha 4y ago
This is not true on iOS for most strings.
- stefncb 4y agoWhy is that?
- sixstringtheory 4y agoMy guess is they are talking about some optimizations iOS does to make strings more performant, like interned string constants and tagged pointers. The majority of string usage probably falls under those. Working with dynamically allocated strings, like reading from files, rendering from data bytes, working with C strings or building formatted strings, might have worse performance characteristics.