[viff-devel] Say hello to viff.reactor

2009-05-27 Thread Marcel Keller

Hi friends of VIFF,

I've now implemented a special reactor for VIFF, based on the standard 
SelectReactor. The new reactor should make non-trivial programs 
considerably faster, e.g. computation of 10 AES-blocks in parallel from 
over 6 seconds to 2.3 seconds per block (3 players, passive security).


The code is in my repository: http://hg.viff.dk/mkeller
To use the new reactor, simply install it before importing the reactor:

import viff.reactor
viff.reactor.install()
from twisted.internet import reactor

If you use other reactors such as Gtk2Reactor or WxReactor, VIFF still 
will work but without any speed improvements.


Best regards,
Marcel
___
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk


Re: [viff-devel] Say hello to viff.reactor

2009-05-27 Thread Martin Geisler
Marcel Keller mkel...@cs.au.dk writes:

 Hi friends of VIFF,

 I've now implemented a special reactor for VIFF, based on the standard
 SelectReactor. The new reactor should make non-trivial programs
 considerably faster, e.g. computation of 10 AES-blocks in parallel
 from over 6 seconds to 2.3 seconds per block (3 players, passive
 security).

 The code is in my repository: http://hg.viff.dk/mkeller To use the new
 reactor, simply install it before importing the reactor:

 import viff.reactor
 viff.reactor.install()
 from twisted.internet import reactor

 If you use other reactors such as Gtk2Reactor or WxReactor, VIFF still
 will work but without any speed improvements.

Very cool! Thank you very much for sticking with your idea and refining
it like this. I'm pushing it now...

-- 
Martin Geisler


pgpFYzQcGfdEV.pgp
Description: PGP signature
___
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk