I'm thinking now that most of these optimizations may not be needed as I've axed the currenttime_mutex. > optimize number of calls to slap_get_time()