mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
4f72f6b886
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 |
||
---|---|---|
.. | ||
4chan_catalog.json | ||
Makefile | ||
TestAtomic.cpp | ||
TestBinarySearch.cpp | ||
TestCircularDeque.cpp | ||
TestCircularQueue.cpp | ||
TestFileSystemPath.cpp | ||
TestFixedArray.cpp | ||
TestHashMap.cpp | ||
TestJSON.cpp | ||
TestNonnullRefPtr.cpp | ||
TestOptional.cpp | ||
TestQueue.cpp | ||
TestRefPtr.cpp | ||
TestString.cpp | ||
TestStringUtils.cpp | ||
TestStringView.cpp | ||
TestURL.cpp | ||
TestUtf8.cpp | ||
TestVector.cpp | ||
TestWeakPtr.cpp |