On Tue, Apr 28, 2009 at 4:52 PM, Matthew Toseland <toad at amphibian.dyndns.org> wrote: > On Saturday 18 April 2009 18:15:12 juiceman at freenetproject.org wrote: >> Author: juiceman >> Date: 2009-04-18 17:15:11 +0000 (Sat, 18 Apr 2009) >> New Revision: 26999 >> >> Modified: >> ? ?trunk/freenet/src/freenet/client/async/BackgroundBlockEncoder.java >> ? ?trunk/freenet/src/freenet/client/async/PersistentCooldownQueue.java >> ? ?trunk/freenet/src/freenet/client/async/SplitFileFetcherSubSegment.java >> ? ?trunk/freenet/src/freenet/client/async/SplitFileInserterSegment.java >> ? ?trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java >> ? ?trunk/freenet/src/freenet/support/HTMLEntities.java >> ? ?trunk/freenet/src/freenet/support/PrioritizedSerialExecutor.java >> Log: >> Use valueOf(). ?It's up to 3.5x faster on Java 1.5+ > > It is for small values. It is not faster for random longs (node db handle) and > times (some of the other stuff below). Correct? >>
It is supposed to be faster for small values and the same speed for large values. -- I may disagree with what you have to say, but I shall defend, to the death, your right to say it. - Voltaire Those who would give up Liberty, to purchase temporary Safety, deserve neither Liberty nor Safety. - Ben Franklin