RoosterDragon
2dd1bd2d39
Initialize map inverse cell projections with capacity 1.
...
This prevents the capacity being set to 4 when the first item is added. For flat maps, the inverse projection will only ever be of size 1, thus this is sufficient capacity. For isometric maps, 1 is often sufficient, we only need more near height changes where the discontinuity means multiple cells may project back. We can pay for some reallocations to expand the size in these cases.
On flat maps, this reduces the memory required by the backing array 4x.
2017-12-11 01:38:17 +01:00
..
2017-08-10 12:22:28 +02:00
2017-09-17 12:52:04 +01:00
2017-06-14 18:56:06 +02:00
2017-07-18 00:10:07 +02:00
2017-08-20 20:48:25 +02:00
2017-12-04 23:10:23 +01:00
2017-12-08 01:29:15 +01:00
2017-12-11 01:38:17 +01:00
2017-12-10 13:49:52 +00:00
2017-10-15 19:07:46 +02:00
2017-12-04 23:10:23 +01:00
2016-12-31 23:46:13 -06:00
2017-06-27 22:43:15 +01:00
2017-07-14 23:02:49 +01:00
2017-12-02 00:05:57 +01:00
2017-12-10 13:39:24 +00:00
2017-07-09 20:54:02 +02:00
2017-11-27 16:09:34 +02:00
2017-12-10 13:49:52 +00:00
2016-12-31 23:46:13 -06:00
2017-01-29 18:58:33 +00:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00
2017-10-08 19:53:10 +02:00
2017-12-10 13:39:24 +00:00
2017-12-08 01:29:15 +01:00
2016-12-31 23:46:13 -06:00
2017-12-02 00:05:57 +01:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00
2017-05-13 11:40:47 -07:00
2017-12-08 01:29:15 +01:00
2017-12-08 01:29:15 +01:00
2017-06-29 19:43:44 +02:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00
2017-12-08 01:29:15 +01:00
2017-10-06 17:54:11 +02:00
2017-12-08 01:29:15 +01:00
2016-12-31 23:46:13 -06:00
2017-05-07 13:25:03 +01:00
2017-12-08 01:29:15 +01:00
2017-10-08 19:53:10 +02:00
2017-11-13 03:09:05 +02:00
2017-11-19 12:40:04 +00:00
2017-11-21 01:00:09 +02:00
2017-06-06 08:53:54 -06:00
2017-12-08 01:29:15 +01:00
2017-07-14 23:02:49 +01:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00
2017-12-10 13:49:52 +00:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00
2016-12-31 23:46:13 -06:00