Needless copying in iterations?
Ben Finney
bignose+hates-spam at benfinney.id.au
Sun Sep 16 20:39:53 EDT 2007
Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> writes:
> On Sun, 16 Sep 2007 15:05:55 +1000, Ben Finney wrote:
> > The compiler for a dynamic language like Python has very little
> > absolute "no significant side-effect in these specific cases"
> > guarantee of the kind you're assuming even in the cases you choose
> > for contrast with the ones that *do* have significant
> > side-effects.
>
> Yes, in general one might not be able to make those guarantees, but
> still there are common cases where you can.
Perhaps. All my message was intended to show was that your message
didn't contain any such cases.
--
\ "If life deals you lemons, why not go kill someone with the |
`\ lemons (maybe by shoving them down his throat)." -- Jack Handey |
_o__) |
Ben Finney
More information about the Python-list
mailing list