4 ms·
The STL is not optimized at all in this case, this is precisely the point. And like it or not, but Facebook has talented engineers to do that.
by xroche 12y ago
The STL is not optimized at all in this case, this is precisely the point. And like it or not, but Facebook has talented engineers to do that.
- richardwhiuk 12y agoThe STL isn't a library that can be optimized - it's a interface definition with expected complexity requirements. By it's nature (i.e. not tied to a platform) it doesn't have specific benchmark numbers. Specific implementations (e.g. MSVCRT, the GC++ implementation, the clang implementation) can be, and are.