macfreek/NBT — comment on commit 2fa5828ce6efce92384f86d9d966b2c17377eb5d
File:  line 0
By macfreek:

Note that the real bottleneck is get_block() in chunk.py. The function seems fast enough, but is called 38 million times on a very small (4 regions only) test world.

Speed improvement is actually faster.
Previous running time: 78 sec (35s in chest_analysis.py, 22s in chunk.py:get_block(), 13.1s in chunk.py:BlockArray.__init__(), 5.2s in ord(), others negligible).
Current running time: 61sec (36s in chest_analysis.py, 22s in chunk.py:get_block(), others negligible).