- Use QStringView to avoid string allocations during parsing
- Use QLatin1String for comparisons (faster than QString)
- Manual indexOf parsing instead of split('.') allocation
- Early return for non-session events
Reduces allocations in the agent.state hot path from ~7 QStrings
to 4 (only when state actually changes and needs to be stored).
|
||
|---|---|---|
| .. | ||
| chatblockmodel.cpp | ||
| chatblockmodel.h | ||
| lib9pclient.cpp | ||
| lib9pclient.h | ||
| main.cpp | ||
| main.qml | ||
| ninepconnection.cpp | ||
| ninepconnection.h | ||
| ollie.svg | ||
| ollie9pclient.cpp | ||
| ollie9pclient.h | ||
| org.ollie.gui.desktop | ||
| qml.qrc | ||
| streamfsm.cpp | ||
| streamfsm.h | ||
| thememanager.cpp | ||
| thememanager.h | ||