A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-December/040688.html below:

Brief Introduction to the Standard Libary

[Python-Dev] re: Tutorial: Brief Introduction to the Standard Libary [Python-Dev] re: Tutorial: Brief Introduction to the Standard LibaryDelaney, Timothy C (Timothy) tdelaney at avaya.com
Wed Dec 3 23:32:25 EST 2003
> From: Arthur
> 
> What is fundamentally wrong with copy(list) as an alternative 
> to list[:]?  

Well, it's slower ... it involves a Python function call and python code, whereas list[:] is all C.

Of course, I didn't say it's a *lot* slower ... the actual copying is likely to take longer.

However, I have to agree that I've almost never used copy or deepcopy.

Tim Delaney

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4