summaryrefslogtreecommitdiff
path: root/read.h
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2018-05-20 10:44:19 -0700
committermichael-grunder <michael.grunder@gmail.com>2018-05-20 10:44:19 -0700
commit7bef042c0375cd5189b77abb879ca2e3a8c4d6d4 (patch)
tree5bba29b208dc734c6cb2bb1f2524bf70920f0f2b /read.h
parent109197585762986502d3a8fa628acc1b82b68cf3 (diff)
Use string2ll from Redis
This commit pulls string2ll from Redis (with permission from Antirez) as strtoll is 2-3x slower and even worse vs the original version in hiredis that didn't check for overflow at all. By using string2ll there is almost no measurable performance impact of overflow detection even in integer parsing heavy workloads (e.g. INCRBY commands).
Diffstat (limited to 'read.h')
0 files changed, 0 insertions, 0 deletions