File Details
BlockDoor 0.074
- R
- Mar 29, 2012
- 221.19 KB
- 1.7K
- CB 1.2.5-R4.0
File Name
BlockDoor74.zip
Supported Versions
- CB 1.2.5-R4.0
v0.074
HDoors had a pretty serious overlap bug that would have prevented construction and in some cases cause either a NPE or a AIOBE to occur. Nasty stuff...
Loosened up the Zone watcher thread from .5 seconds to 1 second.
Removed the main Entity ArrayList as well as the .trimtosize() and .clear() calls for that list.
This is to create a more GC friendly environment by changing the zone watcher from using a list of all entities in all worlds to a map of chunks that a zone occupies. The chunks are then tested for entities that might occupy a given zone. Profiling of this method shows a reduced cpu time for zone watching from 800ms over 5 minutes down to about 22ms. GC has also dropped significantly.

