Netflix/RxJava — pull request #785 by benjchristensen (2014-01-26 06:23:10+00:00)
Title: Reimplement Zip Operator Using Lift [Preview]

A preview of a re-implementation of the `zip` operator.

This re-implements the `zip` operator but not yet the `zipIterable` so those unit tests are still failing. I'm submitting early to get a code review and will finish the `zipIterable` sometime early next week.

I have already had the concurrency model reviewed by two others and all unit tests are passing but further review is justified and welcome.

The performance of this implementation (without doing any profiling) has risen from 1.42m ops/second on v0.16 to 1.67m ops/second as measured on my machine for the simple test `Observable.zip(from(1), from(1), {a, b -> a+b})` and 31k ops/second to 63k ops/second for `Observable.zip(range(0, 100), range(100, 200), {a, b -> a+b})`.