Time taken for STL Declaration
While profiling C++ files in ARM RVCT Compiler, a function in which a
'STL-map' is declared and used. (The STL usage is started in this function)
For the first time call of that function, it took 2 ms more than the subsequent calls of the function.
I doubt that the ' map' declaration is taking that 2 ms for some initialisation of STL.
My question is:
Is there any STL Initialisation on declaration of 'map' and if so, will it take time?
I'm not smart, but I like to observe. Millions saw the apple fall,
but Newton was the one who asked why.
-- William Hazlitt