mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 08:15:06 +00:00
![]() Else, we store an empty but allocated string for each Attribute after a href was emitted (since it's ended by a non-null empty string), which makes Line objects very expensive to destroy and to modify. Reduces `disasm /bin/id` from 414ms to 380ms (min-of-5). There's a lot more perf wins to be had with better href handling (most lines don't have any hrefs, so instead of storing a string per Attr, maybe we could have a vector of hrefs per line and int offsets into that in each Attr for example), but this is a simple, obvious, and effective improvement, so let's start with this. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Line.cpp | ||
Line.h | ||
Position.h | ||
Terminal.cpp | ||
Terminal.h | ||
TerminalWidget.cpp | ||
TerminalWidget.h | ||
XtermColors.h |