March 16th, 2005

compress this

I put out a new version of Salza. New in this version is zlib-write-string, which tries to do the right thing in Lisps where characters don't necessarily fit into octets. Also there are a few new one-off functions to compress small stuff without establishing the whole buffer-filling scaffolding:

(zlib:compress-string "AAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBCCCCCCCCCCCCC")
=> #(8 153 115 68 1 78 88 128 51 50 0 0 33 50 12 30)

I did some testing today with Allegro and LispWorks, and I was pretty bummed as performance is between 7x and 10x worse than SBCL. I don't really know where to begin to fix these, so I'm not going to worry about it just yet.

The shirt also arrived; I ordered the white-on-black version too.

<nug> haha
<nug> you'll be barefoot and sleeping on a cot soon