string copying

phil hunt philh at comuno.freeserve.co.uk
Sat Mar 30 17:51:58 EST 2002


On Fri, 29 Mar 2002 21:04:14 +0000, Robin Becker <robin at jessikat.fsnet.co.uk> wrote:
>Is there some special reason why python inhibits string copying.

Efficiency.

> I
>suppose there's some attempt being made to make these constants. To make
>differing versions of 'abc' one has to resort to silliness like 'ab'+'c'

What benefit does that give you, apart from making your program run 
slower?

-- 
<"><"><"> Philip Hunt <philh at comuno.freeserve.co.uk> <"><"><">
"I would guess that he really believes whatever is politically 
advantageous for him to believe." 
                        -- Alison Brooks, referring to Michael
                              Portillo, on soc.history.what-if



More information about the Python-list mailing list