|
2009-12-11
| ||
| 10:17 | • Ticket [1706840fff] LITERAL_ON_HEAP flag unused status still Open with 1 oth... artifact: 892728f36c user: msofer | |
|
2009-05-01
| ||
| 08:26 | • Ticket [1706840fff]: 1 change artifact: 02a741f660 user: msofer | |
| 08:24 | • Ticket [1706840fff]: 1 change artifact: 2545c83529 user: msofer | |
|
2008-06-28
| ||
| 20:59 | • Ticket [1706840fff]: 5 changes artifact: 500e56c678 user: msofer | |
|
2007-11-28
| ||
| 01:23 | • Ticket [1706840fff]: 4 changes artifact: f8646024a7 user: hobbs | |
| 00:52 | • Ticket [1706840fff]: 1 change artifact: 41a0b6f88a user: dgp | |
|
2007-09-13
| ||
| 07:51 | • Ticket [1706840fff]: 1 change artifact: 7e9c3c3060 user: msofer | |
|
2007-04-25
| ||
| 02:07 | • Ticket [1706840fff]: 4 changes artifact: 5639d646e1 user: msofer | |
|
2007-04-24
| ||
| 18:42 | • New ticket [1706840fff]. artifact: dd9b880382 user: dgp | |
LITERAL_ON_HEAP flag unused
Open1706840fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 17 years ago
Descriptionplain2007-04-24 18:42:51
TclRegisterLiteral() accepts a LITERAL_ON_HEAP flag that no caller uses. Will any caller use it? Or is this added complexity we simply do not need?
msoferplain2007-04-25 02:07:55
Logged In: YES user_id=148712 Originator: NO I can't see where we'd want to use in the core; also grepped tbcload and tclcompiler without finding a match. Who else?
msofer Ticket [1706840fff]: 1 change
[History diff]2007-09-13 07:51:04
dgp Ticket [1706840fff]: 1 change
[History diff]2007-11-28 00:52:19
hobbsplain2007-11-28 01:23:04
Logged In: YES user_id=72656 Originator: NO You have to look back in time. This used to be used to know that you had the data in Tcl-controlled heap memory already, and would save another alloc. By doing without ... did we lose efficiency?
msoferplain2008-06-28 20:59:03
Logged In: YES user_id=148712 Originator: NO I do not recall this ever being used, and can't see how it could in the core: if we are compiling, the literal name is part of the source string and we need a fresh copy. In other cases (e.g. varReform variable names), we have a full Tcl_Obj to use as literal and no copy is needed. If no use case appears, I will remove the extra complexity before beta.
msofer Ticket [1706840fff]: 1 change
[History diff]2009-05-01 08:24:18
msofer Ticket [1706840fff]: 1 change
[History diff]2009-05-01 08:26:40
msofer Ticket [1706840fff]: 1 change
[History diff]2009-12-11 10:17:38
Log in (anonymous is fine) to add a comment.