airbreathercore

A library of classes used by all my mods

File Details

airbreathercore-1.0.2-mc1.9.jar

  • R
  • Apr 17, 2016
  • 30.58 KB
  • 19.1K
  • 1.9

File Name

airbreathercore-1.0.2-mc1.9.jar

Supported Versions

  • 1.9

Updates per MinecraftForge/MinecraftForge@756c58d.  1.0.2 requires clients to be on Forge build 1805 or higher, whereas 1.0.1 required clients to be on Forge build 1804 or lower.

 

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).