antirez dcc48a8143 replicationFeedSlave() reworked for correctness and speed.
The previous code using a static buffer as an optimization was lame:

1) Premature optimization, actually it was *slower* than naive code
   because resulted into the creation / destruction of the object
   encapsulating the output buffer.
2) The code was very hard to test, since it was needed to have specific
   tests for command lines exceeding the size of the static buffer.
3) As a result of "2" the code was bugged as the current tests were not
   able to stress specific corner cases.

It was replaced with easy to understand code that is safer and faster.
2013-08-12 12:50:29 +02:00
..
2012-04-13 17:52:33 -07:00
2013-01-19 10:59:44 +01:00
2013-07-10 14:37:13 +02:00
2013-07-08 16:08:36 +02:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2013-06-27 12:18:29 +02:00
2013-01-19 10:59:44 +01:00
2013-05-14 11:23:16 +02:00
2013-01-19 10:59:44 +01:00
2013-06-21 12:07:53 +02:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2013-07-16 15:43:36 +02:00
2013-08-12 11:38:21 +02:00
2013-01-19 10:59:44 +01:00
2013-07-24 18:59:54 +02:00
2013-07-02 12:08:07 +02:00
2011-07-06 15:22:00 +02:00
2013-05-27 11:44:04 +02:00
2013-01-19 10:59:44 +01:00