10 Jul 2005 neuro   » (Master)


On the way to rebuilding libgc for the C++ transition, I got sidetracked by optimizing wanna-build. First I tried replacing the manual regex and formatting that Wrap_DB uses with use of Storable's freeze and thaw on the hash instead. This resulted in a massive slowdown (almost twice as long to list the whole database). Then I tried replacing Wrap_DB with MLDBM using Storable, had to rewrite the code to minimize calls to FETCH and to correctly call STORE on MLDBM. This has resulted in a 3x performance improvement in all database access.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!