Wednesday, January 6, 2010

Updates

I've largely cleared out the work-in-progress gunk from both sky and alias models now. A few loose ends left hanging, but otherwise they're fine.

Before I do that I'm going to rewrite my memory system. I've been getting something of a pain in the face from setting up little temporary and working buffers all over the place, so the plan right now is to rework it in a more flexible manner. The limited number of fixed pools has become a limitation, so I'm going to be giving myself the ability to create and release new memory pools on demand and on the fly.

The differences between this and malloc and free - before you ask - is that the pools will be dynamically expandable and all allocations from a given pool will be guaranteed to be in consecutive memory.

They're still going to work largely as they did before, and I'm going to be keeping a few of the new pools around permanently, but overall it's just going to be such a relief to have this freedom.

0 comments: