diff options
author | antirez <antirez@gmail.com> | 2014-10-03 11:53:57 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-10-03 12:11:13 +0100 |
commit | 16559b461521625271430d7d4926b632f3a326dd (patch) | |
tree | 2771a181c4959d7e894de426593900ae28ced1ee /src/networking.c | |
parent | de10b8d9cc2ea8d0f96552f88227cf5bfe090b6b (diff) | |
download | redis-16559b461521625271430d7d4926b632f3a326dd.tar.gz |
INCR: Modify incremented object in-place when possible.
However we don't try to do this if the integer is already inside a range
representable with a shared integer.
The performance gain appears to be around ~15% in micro benchmarks,
however in the long run this also helps to improve locality, so should
have more, hard to measure, benefits.
Diffstat (limited to 'src/networking.c')
0 files changed, 0 insertions, 0 deletions