uber-archive / multitransport-jsonrpc

JSON-RPC Client (Node.js & Browser) and Server (Node.js) aim at "natural looking" server and client code.
116 stars 22 forks source link

Better Null Checking (PR for CI testing) #8

Closed dfellis closed 11 years ago

dfellis commented 11 years ago

Some cleanup on the string-based TCP algorithm to reduce reprocessing of null-searched string segments.

dfellis commented 11 years ago

This speeds up the string-based TCP transports to roughly equal that of the current Buffer implementation.

I'm convinced that the only way to get beyond this performance is with Buffers, though, so I'm closing this.