* Matthew Toseland <toad at amphibian.dyndns.org> [2008-08-22 14:32:08]:

> On Friday 15 August 2008 20:22, nextgens at freenetproject.org 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080822/6aa05119/attachment.pgp>

Reply via email to