File Details
airbreathercore-1.0.0a-mc1.7.10.jar
- R
- May 1, 2016
- 29.30 KB
- 147.9K
- 1.7.10
File Name
airbreathercore-1.0.0a-mc1.7.10.jar
Supported Versions
- 1.7.10
Backporting an optimization from 1.0.2-mc1.9, which I described like this on that download page:
Also dropping some arguably overly paranoid thread-safety code, adding just the assumption that by the time any events that I care about actually fire, everybody's done subscribing to any such events (which is always true the way I use it, so this likely cuts down on some memory barriers and locks)... related, changing from using a LinkedListMultimap to using an ArrayListMultimap (because the new assumption means I don't have to worry about inconsistent execution-time performance that would hypothetically, in a universe that was never actually going to exist for too many reasons to count, sometimes lock out handlers while we do a potentially slow array copy of many handlers; this hypothetical non-problem was "alleviated" by using LinkedListMultimap, which would have a guaranteed O(1) cost of adding each handler, at the expense of slower performance by every handler).