Jerry Sievert
668dfdead6
fix null key response: issue #267
2012-09-11 11:43:18 -07:00
Matt Ranney
670c256e35
Whitespace and other JSHint changes.
2012-09-10 22:50:54 -07:00
Jerry Sievert
3d27cb23ee
update for style changes
2012-08-23 13:09:05 -07:00
Jerry Sievert
8be55fb304
fix all but lrange 20k
2012-08-22 21:53:18 -07:00
Jerry Sievert
34568a4bb3
added fallback if missing Buffer.concat()
2012-07-08 14:54:48 -07:00
Jerry Sievert
8d0f2e7239
some microbenchmark updates, slight speed improvement
2012-07-08 08:32:33 -07:00
Jerry Sievert
4048349115
some cleanup and comments
2012-07-08 05:16:36 -07:00
Jerry Sievert
7ec1815188
generally faster javascript parser
2012-07-07 02:44:51 -07:00
Zachary Scott
c83c285213
remove double 'util' and 'Queue' from requires
...
ex: require('./lib/util').util;
2011-11-16 10:37:38 -10:00
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