Skip to content

Commit

Permalink
Save allocations in Zip (#635)
Browse files Browse the repository at this point in the history
* Let ZipObserver inherit from SafeObserver which inlines the SingleAssignmentDisposables currently used. We save n allocations for the n-ary Zip.

* Override Dispose in ZipObserver so it can clear its own queue, that saves the allocation of an anonymous disposable, a closure and a delegate.
  • Loading branch information
danielcweber authored Jun 25, 2018
1 parent bec853b commit 70d2a05
Show file tree
Hide file tree
Showing 3 changed files with 438 additions and 762 deletions.
Loading

0 comments on commit 70d2a05

Please sign in to comment.