summaryrefslogtreecommitdiff
path: root/Kernel/Makefile
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-22 10:12:55 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-22 13:03:43 +0100
commit4f72f6b8866cfa353a29248a4f1ca7c242949231 (patch)
tree3313c96d2a0f0fbec3f12ebd03ce32447416367f /Kernel/Makefile
parent0395b25e3fea1ffa8b20d013b2bfd650e64043ed (diff)
downloadserenity-4f72f6b8866cfa353a29248a4f1ca7c242949231.zip
AK: Add FlyString, a simple flyweight string class
FlyString is a flyweight string class that wraps a RefPtr<StringImpl> known to be unique among the set of FlyStrings. The class is very unoptimized at the moment. When to use FlyString: - When you want O(1) string comparison - When you want to deduplicate a lot of identical strings When not to use FlyString: - For strings that don't need either of the above features - For strings that are likely to be unique
Diffstat (limited to 'Kernel/Makefile')
-rw-r--r--Kernel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Makefile b/Kernel/Makefile
index 22e10de020..5242bd25a6 100644
--- a/Kernel/Makefile
+++ b/Kernel/Makefile
@@ -1,13 +1,14 @@
OBJS = \
../AK/FileSystemPath.o \
+ ../AK/FlyString.o \
../AK/JsonParser.o \
../AK/JsonValue.o \
../AK/LogStream.o \
../AK/String.o \
../AK/StringBuilder.o \
../AK/StringImpl.o \
- ../AK/StringView.o \
../AK/StringUtils.o \
+ ../AK/StringView.o \
../Libraries/LibELF/ELFImage.o \
../Libraries/LibELF/ELFLoader.o \
../Libraries/LibBareMetal/Output/Console.o \