Artifacts Associated With Ticket 2637173
Ticket change [fa0245460f] (rid 91798) by dgp on 2009-02-25 14:38:46:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When adding some recent optimizations for the tclByteArrayType, it was noted that the stringRep -> byteArray mapping is not one-to-one, so operations that are defined on the stringRep cannot be safely optimized into operations on the byteArray when a stringRep exists. That is, many bytearray optimizations are limited to pure bytearray values. The same issue arises in several routines that have long been optimizing the bytearray case. They all need an audit, and likely bug fixes: StringIndexCmd() StringEqualCmd() StringCmpCmd() TclStringMatchObj() INST_STR_CMP INST_STR_INDEX INST_STR_MATCH
- foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "10. Objects"
- title initialized to: "impure bytearray bugs"
- type initialized to: "Bug"
Ticket change [256a7b5924] (rid 88169) by dgp on 2009-02-25 22:12:00:
- icomment:
On older branch(es) see also: StringRangeCmd()
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [66ce810a6d] (rid 102787) by ferrieux on 2009-02-25 22:39:52:
- icomment:
Wow ! Indeed we have 7(?) potential bugs here :-) What about promoting the IS_PURE_BYTE_ARRAY from tclStringObj.c to a central header ? Also, please note that TIP 346 attacks this very problem at 180 degrees.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [7bba9a21bc] (rid 96956) by dgp on 2009-02-26 03:02:03:
- icomment:
fixed only TclStringMatchObj() and only on HEAD
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [29cb96daed] (rid 118450) by dkf on 2009-07-13 01:04:44:
- closedate changed to: "2009-07-12T18:04:44"
- closer changed to: "dkf"
- icomment:
allow_comments - 1 All fixed now.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"