Branch: refs/heads/master
Home:   http://github.com/memcached/memcached

Commit: 943f2e2b245f0ca245ec35abf3fdfba7a900bb0d
    
http://github.com/memcached/memcached/commit/943f2e2b245f0ca245ec35abf3fdfba7a900bb0d
Author: Trond Norbye <[email protected]>
Date:   2009-09-10 (Thu, 10 Sep 2009)

Changed paths:
  M memcached.c

Log Message:
-----------
Issue 89: "Optimize" get-hits calculations

Instead of calling memset to zero out 804 bytes for each get command (and
iterate through a loop checking all of the 201 slab classes for the number of
hits each time, just increment the stat directly.


Reply via email to