Andreas Kling
619cd613d0
LibJS: Give VM a cache of single-ASCII-character PrimitiveString
...
A large number of JS strings are a single ASCII character. This patch
adds a 128-entry cache for those strings to the VM. The cost of the
cache is 1536 byte of GC heap (all in same block) + 2304 bytes malloc.
This avoids a lot of GC heap allocations, and packing all of these
in the same heap block is nice for fragmentation as well.
2020-10-22 17:48:12 +02:00
..
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-25 21:18:17 +02:00
2020-10-13 23:57:45 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-06 18:37:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-10-13 23:57:45 +02:00
2020-10-04 17:03:33 +02:00
2020-10-04 17:03:33 +02:00
2020-10-04 17:03:33 +02:00
2020-10-14 00:10:49 +02:00
2020-10-14 00:10:49 +02:00
2020-09-27 20:26:58 +02:00
2020-10-04 19:22:02 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-25 21:18:17 +02:00
2020-10-13 23:57:45 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-25 21:18:17 +02:00
2020-09-25 21:18:17 +02:00
2020-10-04 19:22:02 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-10-04 17:03:33 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-10-17 23:47:07 +02:00
2020-10-17 23:23:53 +02:00
2020-10-20 08:51:41 +02:00
2020-10-20 08:51:41 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-14 00:10:49 +02:00
2020-09-27 20:26:58 +02:00
2020-10-22 17:03:40 +02:00
2020-10-22 17:03:40 +02:00
2020-10-13 23:57:45 +02:00
2020-10-04 17:03:33 +02:00
2020-10-04 17:03:33 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-10-16 17:06:57 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-10-14 00:10:49 +02:00
2020-10-17 23:47:07 +02:00
2020-10-17 23:23:53 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-10-22 17:48:12 +02:00
2020-09-27 20:26:58 +02:00
2020-09-25 21:18:17 +02:00
2020-10-08 10:02:47 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-10-04 19:22:02 +02:00
2020-09-29 16:45:39 +02:00
2020-10-13 23:57:45 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-04 19:22:02 +02:00
2020-09-27 20:26:58 +02:00
2020-10-17 23:23:53 +02:00
2020-10-04 17:03:33 +02:00
2020-10-17 23:47:07 +02:00
2020-10-16 16:46:27 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-25 21:18:17 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-15 23:49:53 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-04 19:22:02 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-10-13 23:57:45 +02:00
2020-10-13 23:57:45 +02:00
2020-10-02 18:01:27 +02:00
2020-10-22 17:48:12 +02:00
2020-10-22 17:48:12 +02:00