Big Sets for Python

I’ve found that it is often very useful to store enourmous sets, often for IP address or cached sets of database primary keys (to avoid endless SELECT count(*) FROM table WHERE primary_key=? queries). However, doing this with python types is, well, evil. It gets really large, really fast due to the way python types are stored. So, I wrote an extension in C++ and pyrex to do this fast and in a space efficient manner.

This is pre-release, beta quality code, use with caution.

Download big_sets-0.3.tar.gz.