* Julien Cornuwel <batosai at freenetproject.org> [2008-09-06 21:55:35]:

> Matthew Toseland a ?crit :
> > On Saturday 06 September 2008 10:13, Julien Cornuwel wrote:
> >> Matthew Toseland a ?crit :
> >>> Querying by a ByteArrayWrapper works for you? Really?
> >> Well, it seems so. But I didn't do the two-times test though...
> >> I made this because getRoutingKey() returns a byte[] and that it is hard
> >> to query on this.
> > 
> > As sdiz said, db4o is unable to create an index on it. So IMHO you should 
> > query on a string. This could be Base64.encode(getRoutingKey()) or could be 
> > chopped from the FreenetURI (which you can also keep; duplication isn't 
> > *that* big a deal) ...
> 
> That's what I was doing before Nextgen$ pointed this to me :-(
> 

Sorry about that :$ ... I wasn't aware of db4o's internals and the
indexing problem
-------------- 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/20080906/63860f0e/attachment.pgp>

Reply via email to