2 ms·
With great power comes great responsibility. C++ is no different. If you want it to be blazing fast, you need to tell it exactly what you want. What data struc
by lordnacho 8y ago
With great power comes great responsibility.
C++ is no different. If you want it to be blazing fast, you need to tell it exactly what you want. What data structure do you want, where do you want it, where should it ask for more memory if needed?
If you don't do that, there's some sane defaults but the compiler doesn't know whether you are going to relocate the structure or how you plan to access it.