> -----Original Message-----
> From: devl-bounces at freenetproject.org 
> [mailto:devl-bounces at freenetproject.org] On Behalf Of Matthew Toseland
> Sent: Wednesday, November 12, 2008 7:43 PM
> To: devl at freenetproject.org
> Subject: Re: [freenet-dev] [freenet-cvs] r23462 - trunk/plugins/WoT
> 
> On Monday 10 November 2008 03:13, xor at freenetproject.org wrote:
> > Author: xor
> > Date: 2008-11-10 03:13:25 +0000 (Mon, 10 Nov 2008) New 
> Revision: 23462
> > 
> > Modified:
> >    trunk/plugins/WoT/IdentityInserter.java
> > Log:
> > Specify a proper initial size for the temp bucket.
> 
> With some bucket implementations, the initial size cannot be 
> exceeded... You really don't have to set a limit...

Wouldn't it be wise to always accept the hint for initial size
of a bucket? Its really bad if it has to re-allocate memory all
the time if we know from the beginning on how large it will be IMHO.

In fact, its a violation of common understanding of initial size of
a buffer that setting it might break things.


Reply via email to