jonathanslenders/asyncio-redis — pull request #44 by tumb1er (2014-06-06 12:21:16+00:00)
Title: Issue 43 hiredis parser and stream read performance

Added `HiRedisProtocol` which uses hiredis c-extension for response parsing. It passes all `RedisProtocolTest `tests and `RedisBytesProtocolTest`.
Also it's improves `StreamReader` effectiveness by using` read(n)` instead of `readexactly(1)` and `readline()`, which were adding a lot of unused asynchronous overhead.

New parser and stream reading improvements reduces 10K items zset read time from 5.8 to 0.9 seconds with custom `asdict()` implementation (see in #43 comments) and from 25 to 19.8 seconds with native `ZRangeReply.asdict()`