30 Mar 2001 (updated 30 Mar 2001 at 00:51 UTC)
»
I just had the most wonderful sandwich today. I really did.
My wife is the greatest cook in the world. I feel like
singing a song about
the sandwich - it was that good.
Ok, So I upgraded to Microsoft C++ 6.0, because I was just
getting some really wierd compiler bugs. Three compilers in
10 days is not a good sign.
My compression algorithm takes a 5mb file down to 3mb. Not
too bad, but it's a bit dirty. I'm dropping a byte here and
there, but I can fix that. It's a pain doing it in C
though. I could do it quicker and faster in other compilers
(and I may yet do). The math exposes several weaknesses in
the C language that other langauages are stronger in, and I
really can't see the point in sweating over writing
functions that are already available elsewhere. I can spend
that time doing more constructive stuff.
As
a proof of concept though it's pretty good. One wierd thing
is that it will be a piece of cheesecake to decompress
using C, but next to impossible to use C to compress the
thing. I know I can do more compression with it, but I need
to be able to decompress very fast and on the fly to, so I
may lock down the algorithm I have now. Time to tidy up and
debug.