-----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-----


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to