math.pow(x,y)

K.S.Sreeram sreeram at tachyontech.net
Sun Jun 11 15:46:36 EDT 2006


Raymond L. Buvel wrote:
> I just tried this and it is taking an extremely long time even on a fast
> machine with 4 Gb of RAM.  Killed it after a couple of minutes.

Thats odd.
34564323**456356 completed on my laptop in 28 seconds.
[Python 2.4.3, Celeron-M 1.3GHz, WinXP], and max memory consumption
during the whole process was about 11megs.

What python version are you using?

Regards
Sreeram

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20060612/a2e94181/attachment.sig>


More information about the Python-list mailing list