d0a8cf7769
lastsize was never updated from 0, so every pass would reallocate the buffer. Switch to a std::vector and rely on it to remember the size. Manually tracking the size would be slightly more efficient, but this is not a hot path and the vector approach is easier to review. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |