promotional bannermobile promotional banner

airbreathercore

A library of classes used by all my mods
Back to Files

airbreathercore-1.0.1a-mc1.8.9.jar

File nameairbreathercore-1.0.1a-mc1.8.9.jar
Uploader
airbreatherairbreather
Uploaded
May 1, 2016
Downloads
5.0K
Size
30.5 KB
File ID
2297288
Type
R
Release
Supported game versions
  • 1.8.9

What's new

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

 

This mod has no additional files