Pure Python HTTPS Server
trevp at trevp.net
Tue Mar 2 01:57:08 CET 2004
Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote in message news:<7xfzctnyne.fsf at ruckus.brouhaha.com>...
> trevp at trevp.net (Trevor Perrin) writes:
> > > Use gmpy, http://gmpy.sf.net
> > That's another couple modules users have to install though (GMPY and
> > GMP). I was thinking the current pow() implementation could be
> > optimized a bit.
> My lib is written to use gmpy when it's available and the default
> stuff if "import gmpy" fails. The default stuff is fast enough on
> current desktop cpu's for most client side applications that I can
> think of. For a server app, you always want more speed, but asking
> someone to install GMP (if it's not already present) is less onerous.
Good points and good advice, thanks. Depending on key size, this
gives me a 3-6x speedup in handshaking.
More information about the Python-list