Browse Source
As we never use {push,pop}_front std::vector works here perfectly. Also reserve memory for std::vector out of lock. This could be considered as an optimization, but in reality this is just using right container in right place. According to my measurements total speedup is under 0.2%.adaptive-webui-19844
Ivan Sorokin
10 years ago
3 changed files with 13 additions and 8 deletions
Loading…
Reference in new issue