Andrew Kelley
14cef9dd3d
stage2 parser: split out PrefixOp into separate AST Nodes
...
This is part of a larger effort to improve the memory layout of AST
nodes of the self-hosted parser to reduce wasted memory. Reduction of
wasted memory also translates to improved performance because of fewer
memory allocations, and fewer cache misses.
Compared to master, when running `zig fmt` on the std lib:
* cache-misses: 801,829 => 768,624
* instructions: 3,234,877,167 => 3,232,075,022
* peak memory: 81480 KB => 75964 KB
2020-07-13 20:13:51 -07:00
..
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-04-28 19:11:31 -06:00
2020-07-12 21:02:33 +00:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-07-13 00:38:59 +10:00
2020-07-12 00:54:07 +03:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-06-07 22:39:35 +10:00
2020-07-11 20:41:19 +03:00
2020-04-18 14:41:33 -04:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:11:20 +03:00
2020-06-26 13:34:48 -06:00
2020-05-24 21:40:08 -04:00
2020-04-03 12:12:23 -04:00
2019-11-21 20:43:41 -05:00
2020-07-13 20:13:51 -07:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-05-16 12:46:44 -04:00
2020-04-24 15:28:55 -04:00
2020-07-05 21:12:20 +00:00
2020-07-05 21:11:42 +00:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-06-30 18:21:38 +02:00
2020-04-02 16:12:08 +02:00
2020-07-11 20:41:19 +03:00
2020-02-24 13:43:54 -05:00
2020-03-01 13:21:39 -05:00
2020-07-11 20:41:19 +03:00
2020-02-20 19:41:28 +01:00
2020-07-11 20:41:19 +03:00
2020-05-08 14:26:28 +03:00
2020-07-11 20:41:19 +03:00
2020-02-16 13:25:30 -05:00
2020-06-09 13:36:17 -04:00
2020-07-12 00:54:07 +03:00
2020-07-07 23:13:58 +00:00
2020-07-13 00:34:02 +10:00
2019-10-11 18:13:24 -04:00
2020-07-12 21:45:25 +00:00
2020-06-09 13:36:17 -04:00
2020-07-11 20:41:19 +03:00
2020-05-24 10:04:09 -04:00
2020-07-12 00:54:07 +03:00
2020-02-22 12:44:21 +01:00
2020-07-11 20:41:19 +03:00
2020-07-12 22:17:40 +00:00
2020-07-11 20:41:19 +03:00
2020-02-28 14:51:53 -05:00
2020-07-11 20:41:19 +03:00
2020-04-18 15:48:32 -04:00
2020-07-11 20:41:19 +03:00
2020-05-30 23:17:55 +02:00
2020-06-24 22:27:30 -04:00
2020-07-04 21:40:06 +03:00
2020-07-04 21:40:06 +03:00
2020-07-11 20:41:19 +03:00
2020-05-20 21:27:08 -04:00
2020-01-30 12:05:57 -05:00
2020-05-24 21:40:08 -04:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-02-28 14:51:53 -05:00
2019-12-12 18:33:44 -05:00
2020-06-24 14:07:39 +03:00
2020-07-13 00:34:02 +10:00
2020-07-12 22:56:31 -04:00
2020-07-11 20:41:19 +03:00
2020-07-11 20:41:19 +03:00
2020-06-01 14:43:13 -04:00
2020-06-18 20:35:03 -04:00
2020-03-01 13:57:41 -05:00
2020-06-24 21:28:42 -04:00