Wednesday, June 6, 2007

Pure python bitset

As previously mentioned, I recently hacked up a C++ extension to allow Python to use the dynamic bitset in the Boost libraries and I wanted to compare its performance to a pure Python implementation. Tonight, I sat down and, in about 90 minutes, hacked out a decent looking Python version.

I'll check it into the DFW Pythoneers subversion repository in case anyone wants to look at it.

Next thing to try: some sort of benchmarks to compare the two and then maybe Conway's Game of Life.

No comments: