jaybaird/python-bloomfilter — pull request #7 by glangford (2012-12-27 17:59:44+00:00)
Title: Improve hashing performance

The idea in this change is to optimize hashing for the common case where only a single hash digest is required (very common even for very high capacities). Avoids looping, replaces list creation/extend/delete with a list comprehension, and avoids unnecessary modulus calculations.