Dylan K. Taylor f1583f44df
LightArray: Avoid allocating 7 useless arrays for every node processed
instead, use a const array of the offsets and add them to the coordinates, which avoids the allocations.
In synthetic benchmarks, this method takes 40-50% less CPU time by eliding ZEND_INIT_ARRAY and ZEND_ADD_ARRAY opcodes. In practice, the benefit will likely be much smaller (perhaps even irrelevant).
2021-06-17 22:21:58 +01:00
..
2021-04-28 18:44:21 +01:00
2020-01-22 11:55:03 +00:00
2021-05-21 01:27:35 +01:00
2021-03-28 19:41:23 +01:00
2020-03-10 13:05:37 +00:00
2021-03-07 20:15:11 +00:00
2021-01-27 20:04:13 +00:00
2021-06-13 23:02:42 +01:00