An informal comparison of the three major implementations of std:string
devblogs.microsoft.com
An informal comparison of the three major implementations of std:string
1–10 of 30 posts
Re: An informal comparison of the three major implementations of std:string
#2Re: An informal comparison of the three major implementations of std:string
#3Re: An informal comparison of the three major implementations of std:string
#4Re: An informal comparison of the three major implementations of std:string
#5Re: An informal comparison of the three major implementations of std:string
#6Though really the performance gates on string-heavy code tend to be in the heap and not the string library itself.
Re: An informal comparison of the three major implementations of std:string
#7Somewhat related - but there are a ridiculous number of platform/systems that ship with derivative of Dinkum C++ standard library - MSVC (included). When you lookup the company behind it - it's basically small shop that seems to be primarily one guy up in MA.
Re: An informal comparison of the three major implementations of std:string
#8As much as these snippets make clang look heavier, I wonder what it compiles to in practice when the compiler can make better inferences. If you can prove the state of the `is_small` bit those branches disappear. Even at runtime, which implementation is more performant? Real-world profiling may favor clang with branch prediction and speculative processing. Then again, speculation has become a dirty word lately.[1]
[1] Get it? "Dirty" because of the cache. I'm sorry, that pun was entirely unintentional.
Re: An informal comparison of the three major implementations of std:string
#9Re: An informal comparison of the three major implementations of std:string
#10Somewhat related - but there are a ridiculous number of platform/systems that ship with derivative of Dinkum C++ standard library - MSVC (included). When you lookup the company behind it - it's basically small shop that seems to be primarily one guy up in MA.