Hacker News with Generative AI: Strings

Speculations on arenas and custom strings in C++ (nullprogram.com)
My techniques with arena allocation and strings are oriented around C. I’m always looking for a better way, and lately I’ve been experimenting with building them using C++ features. What are the trade-offs? Are the benefits worth the costs? In this article I lay out my goals, review implementation possibilities, and discuss my findings. Following along will require familiarity with those previous two articles.
Converting ASCII strings to lower case at crazy speeds with AVX-512 (lemire.me)