 It might be worth enhancing ASM to support a reuse of these internal buffers during classfile writing.