← Back to team overview

kicad-developers team mailing list archive

Strokefont change from std::deque to std::vector


Hi Seth,

What was the reason for the change from std::deque to std::vector?  Building the stroke font is now accounting for 50% of document load time (I think because we’re using a 2D vector so that any resize of any constituent vector has to reallocate the whole shebang).

We also load the font twice, which is something I’ll look at fixing irrespective of the above.


Follow ups