* Matthew Toseland <[EMAIL PROTECTED]> [2008-08-22 14:32:08]:

> On Friday 15 August 2008 20:22, [EMAIL PROTECTED] wrote:
> > Author: nextgens
> > Date: 2008-08-15 19:22:32 +0000 (Fri, 15 Aug 2008)
> > New Revision: 21916
> > 
> > Modified:
> >    trunk/freenet/src/freenet/node/PeerNode.java
> > Log:
> > PeerNode.getNumberOfSelections() is definitly too time consuming... and 
> > that 
> makes PacketSender to freeze for to long
> 
> Ewwwww! Can't we just return the count? Or better yet, count the selections 
> in 
> some way that doesn't require two objects for every hit? Admittedly that 
> would mean we could no longer get the number of selections in a given time 
> period, but stuff based on that tends to cause oscillations...
> > 

Well you told me that you wanted to reimplement it with some
time-running-averager... So I'll let you do it.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to