notes on debugging example from class

It was really embarrassing not to be able to debug the problem I had in class. It is now REALLY REALLY embarassing not to be able to recreate the problem at all. Maybe it was just bit rot?

At any rate, the optimized code compiles and runs fine, as does the unoptimized one.

One thing I didn't get a chance to talk about is the room function, which tells you about the memory your program is consuming. I used that to set the memory size ahead of time in the create-index function. I also shut off GC until the table is built, since I know ahead of time how big it is going to be.


Larry Hunter
Last modified: Tue Jun 17 19:09:22 MDT 2003