A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/336977.html below:

optimizing a program that just shuffles data, a bit like cat...

optimizing a program that just shuffles data, a bit like cat... optimizing a program that just shuffles data, a bit like cat...Oracle nospam at nowhere.com
Fri Sep 23 11:18:47 EDT 2005
On Fri, 23 Sep 2005 01:16:46 +0000, Dan Stromberg wrote:

> 
> ...but with much bigger blocksizes, and with a netcat-like ability to use
> sockets.
> 

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
helps.

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 doable?



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4