LearnBoost/socket.io — pull request #689 by bwillard (2011-12-16 21:40:26+00:00)
Title: Improve performance of parser.decodePayload

this combines the two substr calls that were happening in decodePayload into one call.

I ran benchmark before and after on this change, the relevant decode packer payload ops/second are bellow

Before: 121934.70 and 124131.01
after: 133308.74 and 146079.29

so while not scientific it seems to speeds things up by about 13%