Python vs. Ruby
Michael Hudson
mwh at python.net
Tue Jan 14 08:08:45 EST 2003
"John Roth" <johnroth at ameritech.net> writes:
> That's what I've always heard. In the case of .sort() and .reverse()
> the performance hit (other than for storage allocation) would be
> neglible, but for .append() it involves copying the entire list as
> well as allocating storage.
The Python implementation isn't *that* dumb!
Cheers,
M.
--
Important data should not be entrusted to Pinstripe, as it may
eat it and make loud belching noises.
-- from the announcement of the beta of "Pinstripe" aka. Redhat 7.0
More information about the Python-list
mailing list