but in all seriousness, I like this code a lot. It's a great first step and it's so obvious how one could go further with it: Just add an extra array that lists all the allocated blocks and whether they're used or not - then you have copy & compact (like a GC!) every few thousand free's.