Re: newb question re. reading lines from stdin

2012-04-25 Thread Dmitry Olshansky
On 25.04.2012 15:10, aylwyn wrote: Hi, I've just written a smallish program reading lines from stdin and doing some parsing and other text processing. I find it's about 3-4 times faster than a python script I had doing the same thing, which is nice but not as good as I hoped. After profiling, it

newb question re. reading lines from stdin

2012-04-25 Thread aylwyn
Hi, I've just written a smallish program reading lines from stdin and doing some parsing and other text processing. I find it's about 3-4 times faster than a python script I had doing the same thing, which is nice but not as good as I hoped. After profiling, it seems almost half the total time is