Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

C++ libraries can optimize smaller strings and store them on the stack. It's commonly known as short string optimization. I'm not sure how many libraries actually use SSO, but I think the three major vendors use something similar.

https://stackoverflow.com/questions/10315041/meaning-of-acro...

https://stackoverflow.com/questions/21694302/what-are-the-me...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: