paulasmuth/recommendify — pull request #17 by scottley (2012-08-12 07:59:41+00:00)
Title: Performance improvement in add_set

I noticed that add_set was taking a very long time. The culprit was all the increment calls for each pair that were generating tons of activity on the redis connection. By encapsulating them in a pipeline, add_set executes 2-3 times faster.