mirror of
https://github.com/RGBCube/serenity
synced 2025-10-27 02:32:33 +00:00
Previously, we stored two representations of the same string in `CompletionSuggestion` object: one for the bytes and the other for the code points corresponding to those bytes. To minimize duplication, this patch combine both representations into a single UTF-8 string, which is already supported by our new String class. Following this update, we successfully reduce the size of each object from 376 bytes to 256 bytes |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Editor.cpp | ||
| Editor.h | ||
| InternalFunctions.cpp | ||
| KeyCallbackMachine.cpp | ||
| KeyCallbackMachine.h | ||
| Span.h | ||
| StringMetrics.h | ||
| Style.h | ||
| SuggestionDisplay.h | ||
| SuggestionManager.cpp | ||
| SuggestionManager.h | ||
| VT.h | ||
| XtermSuggestionDisplay.cpp | ||