[viff-devel] Say hello to viff.reactor

Martin Geisler mg at lazybytes.net
Wed May 27 13:48:35 PDT 2009


Marcel Keller <mkeller at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.viff.dk/pipermail/viff-devel-viff.dk/attachments/20090527/deffdc97/attachment.pgp>


More information about the viff-devel mailing list