* toad <toad at amphibian.dyndns.org> [2006-11-17 13:44:09]:

> On Fri, Nov 17, 2006 at 09:46:43AM +0100, Florent Daigni?re (NextGen$) wrote:
> > * Juiceman <juiceman69 at gmail.com> [2006-11-16 20:53:08]:
> > 
> > > Could we get a new freenet-ext.jar built and uploaded pretty please?
> > 
> > It will be as soon as it's ready. I use to give links to pre-releases of
> > it on irc to get feedback... So far :
> >     1) the new BDB code seems to perform fine
> >     2) the new wrapper code performs fine too
> >     3) and the FEC code for x86_64 compiles but segfaults :| The C
> >     tests are passing but even a simple testcase using JNI fails and
> >     makes the JVM to segfault.
> > 
> > I'm still working on it. From my custom bechmarks, I would say that the
> > native fec code is only twice faster than the pure java one (the C version 
> > is
> > twice faster than the java test).
> 
> That's a bit disappointing... I thought the java plus JNI was half the
> speed of the C version?

Hmm, that's what I told you yesterday on irc yes but in fact it's not the case:
The JNI libs weren't loading at all and we were doing plain java computation. 
The
JNI overhead seems to be negligeable when the library loads... compared to the C
version.

-- 
NextGen$. 
"On peut ob??r aux lois en souhaitant qu'elles changent, comme on sert ? la 
guerre en souhaitant la paix."
Merleau Ponty - L'?loge de la philosophie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20061117/6b603c93/attachment.pgp>

Reply via email to