Small string optimization (storing small strings inline instead of spilling to the heap) is something I'm pretty meh on. Many years ago I implemented it for all strings and vectors in Rust. The resulting code bloat was unbelievable.
-
-
Swift does SSO I believe, and they're fairly recent, with the opportunity to learn from Rust... I'd be surprised if they didn't benchmark first (but don't actually know). I'd be curious what their results were if they did.
-
Note that macOS libSystem malloc is fairly slow compared to jemalloc in my experience.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.