The first part of this sentence if plain wrong, whereas the second part is true. STL is NOT intrinsically inefficient!!Parkydr posted on Jul 5 2006 at 10:44 AM said:STL is intrinsicly inefficient, it depends how you use it.
Trenki posted on Jul 5 2006 at 12:00 PM said:The first part of this sentence if plain wrong, whereas the second part is true. STL is NOT intrinsically inefficient!!Parkydr posted on Jul 5 2006 at 10:44 AM said:STL is intrinsicly inefficient, it depends how you use it.
Daid posted on Jul 5 2006 at 07:10 AM said:I'm using std::vector<> troughout my code and it works like a charm. I actualy had to slowdown my game because it ran way to fast.
Still offtopic:Sparr posted on Jul 5 2006 at 04:20 PM said:off topic...Daid posted on Jul 5 2006 at 07:10 AM said:I'm using std::vector<> troughout my code and it works like a charm. I actualy had to slowdown my game because it ran way to fast.
if you are using simple performance-based delay loops then under/overclocking will break your game. you should be using clock-based timing.
int LastTickCount = SDL_GetTicks();
while (!bQuit)
{
while(LastTickCount + 12 > SDL_GetTicks());
LastTickCount = SDL_GetTicks();
