Skip to content


Hacking Status

Below are the results of sitting down today for an hour or so and catching up on some of my code hacking projects.

PEAR related:

Other hackery:

Some days ago I committed an implementation of Bloom Filters for PHP to GitHub.  Bloom filters are pretty handy data structures when you need to quickly figure out if something has been processed before and when false positives are not a problem.  This means that sometimes the filter will tell you that item X hasn’t been processed earlier when in fact it has.  On the other hand, if the filter tells you that an item has already been processed, this is definitely true. There is no documentation at the moment, but the code comes with extensive PHPdoc comments and there is a unit test in the repository that covers all the functionality and provides a good starting point.If you are interested in retrieving the code via git, use this:

$ git clone git://github.com/mj/php-bloomfilter.git

Or fetch it from the web interface. The code is released under a BSD license, so you can pretty much do whatever you like with it.

On a somewhat related note this was the first time I used git, and I seem to like it.

Posted in hacking status.

0 Responses

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.