Matt Ranney
0c8646bc61
Use number literals for case labels to help V8 go faster.
2011-11-13 18:12:28 -10:00
Matt Ranney
f9e17556d2
Performance improvements and backpressure controls.
...
Simply and speed up command argument processing logic.
Commands now return the true/false value from the underlying socket write(s).
Implement command_queue high water and low water for more better control of queueing.
2011-06-30 14:12:35 -06:00
Matt Ranney
aa3cefe506
Allocate new Arrays with known size instead of dynamically growing them.
2010-12-13 15:55:30 -08:00
Matt Ranney
202df58b93
Re-throw callback errors on nextTick
...
Otherwise an error thrown in a callback would be throw on the parser's stack.
2010-12-13 12:46:54 -08:00
Matt Ranney
36c40ee03d
JavaScript parser passes all tests when returning strings.
...
JS is still way too slow for large mb replies. Hiredis is fast for strings of large replies,
but slow for buffers.
2010-12-07 00:23:31 -08:00
Matt Ranney
b907364573
Support for multiple reply parsers including hiredis.
...
Several parsing bugs fixed in JavaScript.
Some new config options that need to be better documented.
2010-12-06 09:11:16 -08:00
Pieter Noordhuis
a5381964d9
Add option to specify whether to return strings or buffers for bulk data
2010-11-30 23:10:02 +01:00
Pieter Noordhuis
1e698e3fce
Move the reply parser to its own file
2010-11-30 22:29:16 +01:00