back



I was at Microsoft (working on a project for MetaCreations), and they said, "Okay, this class library you guys have, yeah, it's 1.1MB, and this transition library, well, if you make the two of them together less than about 150KB we'll ship all your stuff in DXTMSFT.DLL and it'll go into IE5."

I think, "I wrote half the transitions in IE5." Motivation enough.

Just have to make it a liiiiiiiiittle smaller.

I wrote this utility called Mapcrunch, and it's basically pretty lame code, but it's surprisingly useful. What you do: turn on mapfiles in the Settings dialog for Visual C++. Drag the generated .MAP file to mapcrunch.

It will put next to the .MAP a .OSM and a .FSM, meaning "object summary" and "function summary" respectively. You can look through these files and see how you're wasting space.

Known bugs: some stuff isn't coalesced right, so you get some objects showing up twice.

Download: mapcrunch.zip [20kb].