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
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,
viff-devel mailing list (http://viff.dk/)

Reply via email to