3 ms·
Apple does something similar for strings in objc and Swift. They do lots of other optimisations besides - like small string optimisation for short strings to av
by josephg 1y ago
Apple does something similar for strings in objc and Swift. They do lots of other optimisations besides - like small string optimisation for short strings to avoid heap allocations.