One other point: I know at some point I told Stephen to change the generated code (in C) for switching over things that had a single tag bit at the bottom to first shift the quantity right by 1 so that the jump table would be dense. I don't remember what was being switched over, but it was definitely a win in my tests.