semi-concatenated strings
Terry Reedy
tjreedy at udel.edu
Fri May 31 13:03:21 EDT 2002
More information about the Python-list mailing list
Fri May 31 13:03:21 EDT 2002
- Previous message (by thread): semi-concatenated strings
- Next message (by thread): semi-concatenated strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Grant Griffin" <Grant_member at newsguy.com> wrote in message > In article <mailman.1022791249.9251.python-list at python.org>, Skip says... > >At compile time all those strings are concatenated into one long string. > I guess I don't see what's so bad about having to put a "+" at the end of > each--except maybe that it brings on the need for a continuation backslash: Reread 'at compile time' (hopefully with linear algorithm) - only one string object created. + works at runtime with n string objects in n*n time, possibly repeatedly (if strings are in loop or function called more than once. Quite aside from extra chars. Terry J. Reedy
- Previous message (by thread): semi-concatenated strings
- Next message (by thread): semi-concatenated strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list