felixge/node-multipart-parser — pull request #1 by chjj (2011-10-19 09:39:13+00:00)
Title: Use a Buffer for the header buffer to avoid fromCharCode calls 

The performance increase might be hard to pick out from benchmarks due to the fact that it only deals with headers, and it depends on how many fields are actually present. I ended up removing _headerBufferLimit and fixing the buffer limit at 200, although I'm not sure if you really wanted that. This is the direction I went with my own parser after using the fromCharCode and concatenation approach for a while. It seems to work well.