News for hackers. Stuff that matters.
Re:Tough Times on the Road to StarCraft by DCoder on Sunday January 25, 2015 @01:53AM (#8942246)
> I doubt there are any vector implementations that don't use exponential growth.

Trivia fact time: Westwood Studios wrote their own vector implementation for the original Command&Conquer, and reused it for later games in the same series, until Renegade/Generals. That implementation uses linear growth, capacity grows by 10 elements each time.

Re:Tough Times on the Road to StarCraft by barrkel on Sunday January 25, 2015 @04:27AM (#8942491)
Indeed; however that's not conforming to the standard, so it is not an implementation of std::vector ;)
Re:Tough Times on the Road to StarCraft by sebleblanc on Sunday January 25, 2015 @04:40PM (#8944370)
But it is an implementation, albeit a non-standard one.