Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jstimpfle
on April 25, 2019
|
parent
|
context
|
favorite
| on:
Some Were Meant for C (2017) [pdf]
> True, but only due to backwards compatibility with C - std::string operations have to add a null terminator for no other good reason.
That's about the least reason why std::string is inefficient.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
That's about the least reason why std::string is inefficient.