1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 09:57:35 +00:00
serenity/Userland/Libraries/LibLine
hanaa12G 19f137c1e6 LibLine: Remove duplicate members in CompletionSuggestion
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
2023-12-15 16:58:03 +03:30
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
Editor.cpp LibLine: Remove duplicate members in CompletionSuggestion 2023-12-15 16:58:03 +03:30
Editor.h Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
InternalFunctions.cpp LibLine: Refresh the line after case-change operations 2023-08-07 22:51:49 +03:30
KeyCallbackMachine.cpp LibLine: Correct spelling mistake in variable name 2021-07-21 14:15:24 +02:00
KeyCallbackMachine.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
Span.h LibLine: Ignore empty spans when stylizing 2022-07-17 00:51:31 +00:00
StringMetrics.h LibLine: Support wrapping lines in actual_rendered_string_metrics 2022-11-10 12:34:21 +03:30
Style.h Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
SuggestionDisplay.h Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
SuggestionManager.cpp LibLine: Remove duplicate members in CompletionSuggestion 2023-12-15 16:58:03 +03:30
SuggestionManager.h LibLine: Remove duplicate members in CompletionSuggestion 2023-12-15 16:58:03 +03:30
VT.h Everywhere: Use nested namespace qualifiers 2023-07-12 10:05:42 +03:30
XtermSuggestionDisplay.cpp LibLine: Remove duplicate members in CompletionSuggestion 2023-12-15 16:58:03 +03:30