Skip to content

v1.1.1

Compare
Choose a tag to compare
@iconara iconara released this 29 May 10:57
· 221 commits to master since this release

This version has been yanked, it contained a silly bug that is fixed in v1.1.2

Optimization release, Future.all, .first and .resolved create fewer objects.

Most significantly Future.resolved and Future.resolved(nil) return a constant future pre-resolved to nil. In addition to existing optimizations of the futures returned by Future.resolved this variant is now very cheap. Future.resolved.value is now only two method calls and no object allocations.