On Thursday 21 August 2008 18:45, Florent Daigni?re wrote: > * Matthew Toseland <toad at amphibian.dyndns.org> [2008-08-21 18:16:40]: > > > On Friday 15 August 2008 11:41, nextgens at freenetproject.org wrote: > > > Author: nextgens > > > Date: 2008-08-15 10:41:57 +0000 (Fri, 15 Aug 2008) > > > New Revision: 21890 > > > > > > Modified: > > > trunk/freenet/src/freenet/io/comm/UdpSocketHandler.java > > > Log: > > > remove the call to Logger.shouldLog() we spend too much time there > > > > Does this commit make any difference? It's only once per packet... > > Here it does
Maybe we need a counter or something? Or change it in some other method... It is best with logging if it can be enabled on the fly. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080821/f9ec3772/attachment.pgp>
