Artifacts Associated With Ticket 1077262
Ticket change [5437d84db4] (rid 93905) by dgp on 2004-12-02 02:36:16:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
encodings are freed too easily. Once an encoding has been used by a program at all, it should be kept loaded, since it's likely to be needed again. As is, the [encoding convertfrom] command will load an encoding from a disk file, +count, use it, -count, and destroy it, all before returning. Makes for many too many disk reads. Changing the refcounts should not be too hard, but there's also work to do updating the tests in the test suite that actually insist on this rapid purge of encoding data.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "38. Init - Library - Autoload"
- title initialized to: "redo refcounting of encodings"
- type initialized to: "RFE"
Ticket change [a96516739a] (rid 99142) by hobbs on 2004-12-03 01:10:57:
- icomment:
Logged In: YES user_id=72656 Perhaps a cache (quasi like REs have) of the last 10 used encodings get an extra refcount? That way we have a pointer to free on exit, and we don't keep all used encodings loaded.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [3e903840ee] (rid 121291) by dgp on 2005-04-09 02:57:23:
- icomment:
File Added - 129104: 1077262.patch Logged In: YES user_id=80530 attached patch uses a Tcl_ObjType to cache Tcl_Encoding as an internal rep, and updates the [encoding convert*] commands to use it, fixing the worst of these problems.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "1077262.patch" [ba9ae91762] (rid 129350) by dgp on 2005-04-09 02:57:23.
Ticket change [190fdd0790] (rid 122757) by dgp on 2005-04-09 03:03:46:
- icomment:
Logged In: YES user_id=80530 patch committed. Leaving report open as a prompt to consider moving the new TclGetEncodingFromObj to the public interface.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [605885a217] (rid 115981) by dgp on 2005-04-28 04:57:17:
- assignee changed to: "hobbs"
- icomment:
Logged In: YES user_id=80530 Here's the corresponding patch for the 8.4 branch.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Add attachment "1077262-84.patch" [cefd80267e] (rid 112881) by dgp on 2005-04-28 04:57:18.
Ticket change [5885804e8a] (rid 117820) by dgp on 2005-04-28 04:57:19:
- icomment:
File Added - 132026: 1077262-84.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [dc769cbf90] (rid 114487) by dgp on 2005-06-03 02:59:12:
- icomment:
Logged In: YES user_id=80530 this slipped 8.4.10; raising priority so it makes 8.4.11
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "7 High"
- username: "dgp"
- icomment:
Ticket change [ded9feaaca] (rid 114921) by dgp on 2005-07-06 04:11:55:
- assignee changed to: "dgp"
- closedate changed to: "2005-07-05T21:11:55"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 heh. oh well. Committing for 8.4.12 anyway. Closing; will open Tcl_GetEncodingFromObj() RFE separately.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"