On Wed, Apr 8, 2009 at 8:27 PM, Matthew Toseland <toad at amphibian.dyndns.org> wrote: > On Wednesday 08 April 2009 06:05:10 j16sdiz at freenetproject.org wrote: >> Author: j16sdiz >> Date: 2009-04-08 05:05:10 +0000 (Wed, 08 Apr 2009) >> New Revision: 26639 >> >> Modified: >> ? ?trunk/freenet/src/freenet/support/PrioritizedSerialExecutor.java >> Log: >> Keep job counts > > Why is this faster than calling .size() ?
No, it is not. But this is a prerequisite for a later patch to reduce locking, which I will commit later.