comparison .hgtags @ 4419:7084faa7a4b4

Limit req: number of cleanup calls reduced. Doing a cleanup before every lookup seems to be too aggressive. It can lead to premature removal of the nodes still usable, which increases the amount of work under a mutex lock and therefore decreases performance. In order to improve cleanup behavior, cleanup function call has been moved right before the allocation of a new node.
author Valentin Bartenev <vbart@nginx.com>
date Mon, 30 Jan 2012 10:01:39 +0000
parents c35b05c6947a
children 7c718f5416eb
comparison
equal deleted inserted replaced
4418:aac79fc948cc 4419:7084faa7a4b4