- 12 Jul, 2016 3 commits
-
-
antirez authored
To destroy and recreate the pool[].key element is slow, so we allocate in pool[].cached SDS strings that can account up to 255 chars keys and try to reuse them. This provides a solid 20% performance improvement in real world workload alike benchmarks.
-
antirez authored
Local scope is always better when possible.
-
antirez authored
-
- 11 Jul, 2016 1 commit
-
-
antirez authored
We start from the end of the pool to the initial item, zero-ing every entry we use or every ghost entry, there is nothing to memmove since to the right everything should be already set to NULL.
-
- 06 Jul, 2016 1 commit
-
-
antirez authored
-