summaryrefslogtreecommitdiff
path: root/src/networking.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-10-03 11:53:57 +0100
committerantirez <antirez@gmail.com>2014-10-03 12:11:13 +0100
commit16559b461521625271430d7d4926b632f3a326dd (patch)
tree2771a181c4959d7e894de426593900ae28ced1ee /src/networking.c
parentde10b8d9cc2ea8d0f96552f88227cf5bfe090b6b (diff)
downloadredis-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