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

2005-09-23 Thread Dan Stromberg
On Fri, 23 Sep 2005 10:18:47 -0500, Oracle wrote: > On Fri, 23 Sep 2005 01:16:46 +, 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 > helps.

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

2005-09-23 Thread Oracle
On Fri, 23 Sep 2005 01:16:46 +, 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

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

2005-09-22 Thread Dan Stromberg
...but with much bigger blocksizes, and with a netcat-like ability to use sockets. The program is at http://dcs.nac.uci.edu/~strombrg/pnetcat I'm a bit concerned about the program's performance, because it actually seems to get slower sometimes with larger blocksizes, which really isn't what I'd