Andreas Kling
4f72f6b886
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
2020-03-22 13:03:43 +01:00
..
2020-03-22 08:51:40 +01:00
2020-03-22 01:22:32 +01:00
2020-03-19 15:48:00 +01:00
2020-03-22 01:22:32 +01:00
2020-03-08 13:06:51 +01:00
2020-03-22 01:22:32 +01:00
2020-03-22 01:22:32 +01:00
2020-03-22 01:22:32 +01:00
2020-03-19 15:48:00 +01:00
2020-02-27 13:05:12 +01:00
2020-03-22 01:22:32 +01:00
2020-02-10 12:07:48 +01:00
2020-02-02 00:20:41 +01:00
2020-03-21 09:46:30 +01:00
2020-03-21 09:46:30 +01:00
2020-02-09 19:38:17 +01:00
2020-01-18 09:45:54 +01:00
2020-01-13 11:06:42 +01:00
2020-02-16 01:27:42 +01:00
2020-02-16 01:27:42 +01:00
2020-01-18 09:45:54 +01:00
2020-02-28 20:07:51 +01:00
2020-02-02 00:20:41 +01:00
2020-02-02 00:20:41 +01:00
2020-02-02 00:20:41 +01:00
2020-03-19 15:48:00 +01:00
2020-03-08 13:06:51 +01:00
2020-02-16 01:27:42 +01:00
2020-02-16 01:27:42 +01:00
2020-01-18 09:45:54 +01:00
2020-01-31 13:13:04 +01:00
2020-01-18 09:45:54 +01:00
2020-03-22 01:22:32 +01:00
2020-02-16 01:27:42 +01:00
2020-03-02 22:23:39 +01:00
2020-02-16 01:27:42 +01:00
2020-01-17 22:34:26 +01:00
2020-03-02 22:23:39 +01:00
2020-02-26 13:06:40 +01:00
2020-03-21 09:46:30 +01:00
2020-03-22 13:03:43 +01:00
2020-02-10 10:46:25 +01:00
2020-02-16 01:27:42 +01:00
2020-02-04 19:11:52 +01:00
2020-01-18 09:45:54 +01:00
2020-03-22 01:22:32 +01:00
2020-03-08 13:06:51 +01:00
2020-03-22 08:51:40 +01:00
2020-03-19 15:48:00 +01:00
2020-03-08 13:06:51 +01:00
2020-02-16 01:27:42 +01:00
2020-02-27 10:41:32 +01:00
2020-02-22 10:54:50 +01:00
2020-02-16 01:27:42 +01:00
2020-02-16 01:27:42 +01:00
2020-03-02 22:23:39 +01:00
2020-01-18 09:45:54 +01:00
2020-02-10 10:46:25 +01:00
2020-03-19 15:48:00 +01:00
2020-03-19 15:48:00 +01:00
2020-03-02 22:23:39 +01:00
2020-02-28 12:55:58 +01:00
2020-02-10 10:46:25 +01:00
2020-03-22 01:22:32 +01:00
2020-03-22 01:22:32 +01:00
2020-03-02 22:23:39 +01:00
2020-03-08 13:06:51 +01:00
2020-03-08 13:06:51 +01:00
2020-02-16 01:27:42 +01:00
2020-03-19 15:48:00 +01:00
2020-03-19 15:48:00 +01:00
2020-02-26 13:06:40 +01:00
2020-02-26 13:06:40 +01:00