Artifacts Associated With Ticket 1515234
Ticket change [6de0c62603] (rid 128776) by afredd on 2006-06-30 16:41:46:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
There are a large number of cases where string literals passsed to vararg functions are split over multiple lines but with a comma separating them. The most common are in calls to Tcl_AppendResult. By removing the comma separating the string literals, you save all round: * smaller object code (one less function argument to push) * one less '\0' in the strings table * faster run time (one less time round the varargs handling code) * smaller source code! Attached is a file containing all the occurences i could grep out of the Tcl source (there are more in Tk too) plus a patch for the first file in the list. I'll submit patches for the rest if someone's willing to apply them... although the changes are absurdly trivial :-)
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "afredd"
- subsystem initialized to: "None"
- title initialized to: "Removing commas is slimming!"
- type initialized to: "Patch"
Add attachment "unnecesary_commas.txt" [be236bd84c] (rid 102023) by afredd on 2006-06-30 23:41:47.
Ticket change [5fc0c565b4] (rid 115870) by afredd on 2006-06-30 23:41:47:
- icomment:
File Added - 183455: unnecesary_commas.txt
- login: "afredd"
- mimetype: "text/plain"
- username: "afredd"
- icomment:
Ticket change [96dfe70b17] (rid 106402) by dkf on 2006-08-06 06:26:27:
- assignee changed to: "dgp"
Ticket change [a6202a4465] (rid 98543) by dgp on 2006-08-10 00:54:19:
- assignee changed to: "kennykb"
- priority changed to: "3 Low"
Ticket change [576852f05f] (rid 94483) by kennykb on 2007-04-20 13:12:28:
- closedate changed to: "2007-04-20T06:12:28"
- closer changed to: "kennykb"
- icomment:
Logged In: YES user_id=99768 Originator: NO Sure, couldn't hurt. Unlikely to help much, but might as well put it in.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "kennykb"