optimizing a program that just shuffles data, a bit like cat...
strombrg at dcs.nac.uci.edu
Fri Sep 23 18:15:51 CEST 2005
On Fri, 23 Sep 2005 10:18:47 -0500, Oracle wrote:
> On Fri, 23 Sep 2005 01:16:46 +0000, Dan Stromberg wrote:
>> [quoted text muted]
> Try using psyco and see if that helps. Also, sometimes smaller blocks are
> better than large blocks. Try using smaller block sizes and see if that
I like the psyco idea, but I'm on an AIX system with a powerpc CPU, rather
than an x86 CPU.
> If you're worried about the time required to calculate
the length of
> your block, try calculating it once and pass the length around. Is that
AFAIK, that's what I've been doing...
More information about the Python-list