stl

FakeVector

Martini’s benchmarking seemed to be pointing a big hairy performance finger at some std::vector operations putting us in the need for a trivial array-based reference implementation of the vector to play with. Martini was set to go rewrite the surrounding code but I persuaded him to give me 3 minutes to rustle up a FakeVector template he could sub in for the STL version… Et voila…

Vector initialization: Cross-platform gotcha

Well, oops; my fix for the map-crash bug broke the PC build. After a lot of head-scratching and some help from Ramp, he finally tracked it down to a crash in my new code, specifically in the RemoveSuperCells part of the destructor.