[Python-Dev] re: Tutorial: Brief Introduction to the Standard Libary (original) (raw)
Delaney, Timothy C (Timothy) tdelaney at avaya.com
Wed Dec 3 23:32:25 EST 2003
- Previous message: [Python-Dev] re: Tutorial: Brief Introduction to the Standard Libary
- Next message: [Python-Dev] re: Tutorial: Brief Introduction to the Standard Libary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] re: Tutorial: Brief Introduction to the Standard Libary
- Next message: [Python-Dev] re: Tutorial: Brief Introduction to the Standard Libary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]