monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Speedup chances


From: Christof Petig
Subject: Re: [Monotone-devel] Speedup chances
Date: Sun, 04 May 2008 13:59:40 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Markus Schiltknecht schrieb:
> Hi,
> 
> Christof Petig wrote:
>> I tested Thursday's net.venge.monotone with binary ids and I don't know
>> about cached pipes. But this should be easy to speed up (especially
>> given that, according to Lapo, there is/was a specialized 40 digit hex
>> decoder in monotone written by Graydon.
> 
> Ah, okay, so that's certainly with Zack's cached pipes. Did you test
> with '--debug'? That's doing lots more hex encoding (not decoding, though).
> 
> Some questions that arise here: Why is that specialized hex decoder so
> much faster that what's in botan? Does it have to be limited to 40
> digits? Can the botan decoder be sped up?

The problem at hand is the malloc and memset overhead introduced by
using a dynamic buffer.

The botan decoder might as well be used by the specialized functions
which give 40% speedup, but I was unable to decode the botan manual.

  Christof
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIHaUrng+R+0ucfO0RApbDAJ4j078XCgACtSJdNbn7o/LBYiTExQCg0ce8
sKK1Ec/1QUIVALV4+IqDa1U=
=EJ13
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]