loop in python
Peter Hansen
peter at engcorp.com
Mon Aug 22 16:58:29 EDT 2005
km wrote:
>>thing. If *all* your loops are going to do is print stuff, then you're
>>doing the right thing with the version that "emits values".
>
> ya most of the loops print values.
No, you missed my point. I said if *all* the loops are going to do is
print stuff. In other words, no other calculations, no function calls,
no nothing. Just simple "print" statements. Doing this in your test
just tests I/O in the C library and operating system, not anything to do
with the speed of Python, as Bruno has clarified in detail.
-Peter
More information about the Python-list
mailing list