On Wed, Dec 3, 2008 at 3:22 AM, Matthew Toseland
<toad at amphibian.dyndns.org> wrote:
> On Tuesday 02 December 2008 11:42, j16sdiz at freenetproject.org wrote:
>> Author: j16sdiz
>> Date: 2008-12-02 11:42:41 +0000 (Tue, 02 Dec 2008)
>> New Revision: 24005
>>
>> Modified:
>>    trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
>> Log:
>> more probe for small store (default store size is now smaller)
>
> I don't follow. The wizard will still set it to be large.

Well... part of the reason is I have a node with small store..

The value 4 was choose back when we don't have bloom filter.
With the bloom filter, a larger value don't hurt that much.

>> Modified:
> trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
>> ===================================================================
>> --- trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
> 2008-12-02 11:42:19 UTC (rev 24004)
>> +++ trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
> 2008-12-02 11:42:41 UTC (rev 24005)
>> @@ -54,7 +54,7 @@
>>  public class SaltedHashFreenetStore implements FreenetStore {
>>       /** Option for saving plainkey */
>>       private static final boolean OPTION_SAVE_PLAINKEY = false;
>> -     private static final int OPTION_MAX_PROBE = 4;
>> +     private static final int OPTION_MAX_PROBE = 5;
>>
>>       private static final byte FLAG_DIRTY = 0x1;
>>       private static final byte FLAG_REBUILD_BLOOM = 0x2;
>>
>> _______________________________________________
>> cvs mailing list
>> cvs at freenetproject.org
>> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
>>
>>
>
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>

Reply via email to