On Nov 25, 2007 9:00 AM, Dick Moores <[EMAIL PROTECTED]> wrote: > Fredrik, > > I'm afraid I'm just too dumb to see how to use your first suggestion > of cached_factorials. Where do I put it and def()? Could you show me, > even on-line, what to do? <http://py77.python.pastebin.com/f48e4151c> > You (or anyone) can submit an amendment to my code using the textbox. > > I did make the denom change, and see that it does improve the speed a bit.
I edited the pastebin code, see: http://py77.python.pastebin.com/m6b2b34b7 Fredrik -- http://mail.python.org/mailman/listinfo/python-list