0
This repository has been archived on 2025-04-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Minecraft-Overviewer/overviewer_core
Nicolas F fcb3f2644d Shuffle around wall IDs, change wall check
Previously, walls were all numbered at 21000+. This is bad because
our blockmap is an array, so this caused our blockmap to take up
80 MiB of RAM in each worker process.

This commit changes the wall numbering, and exploits some bitmasking
to have the wall check run in constant time no matter how many walls
there are. This is done with a simple mask and xor to check the prefix.

RAM usage for the blockmap thus drops to like 44 MiB.

This is in preparation for adding more walls for 1.16.
2020-07-13 19:15:47 +02:00
..
2019-12-23 23:50:20 +01:00
2019-03-07 15:43:01 +01:00
2019-07-24 09:35:52 +02:00
2016-11-29 09:13:42 -05:00
2019-06-23 12:47:05 -04:00
2020-06-25 15:37:17 +02:00
2019-03-17 17:57:07 +01:00
2019-07-09 13:44:43 +02:00
2019-03-17 17:57:07 +01:00
2019-07-12 17:48:32 +02:00
2019-04-20 10:36:53 +01:00