Please sign in to comment.
remove global stats lock from item allocation
This doesn't reduce mutex contention much, if at all, for the global stats lock, but it does remove a handful of instructions from the alloc hot path, which is always worth doing. Previous commits possibly added a handful of instructions for the loop and for the bucket readlock trylock, but this is still faster than .14 for writes overall.
- Loading branch information...
Showing with 29 additions and 18 deletions.