Artifacts Associated With Ticket 85b87a7570d65ad9
Ticket change [f8c03af7ea] (rid 145230) by dgp on 2016-03-07 19:32:18:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The routine TclByteArrayMatch() in tclUtil.c is not covered at all by the test suite. Is there any actual known or expected use case that justifies it? Or just code for code's sake?
- foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "10. Objects"
- title initialized to: "TclByteArrayMatch - unused? premature opt?"
- type initialized to: "Bug"
Ticket change [042521457d] (rid 145231) by dgp on 2016-03-08 03:44:58:
- icomment:
Ok, the routine originated here: http://core.tcl.tk/tcl/info/d6f120464eb07ce6 but apparently before it was realized that it was only appropriate for pure bytearray values because the string -> bytearray transformation is not a reversible one. Once it is realized that the routine can only be used for pure bytearrays and is constrained to only be called on pure bytearrays, then defining it makes roughly as much sense as defining a "string match" routine specialized to lists -- not much. I'm not compelled to remove it just to remove it, but I'll try to remember how useless it is if/when it becomes an obstacle to internal reform efforts.
- login: "dgp"
- mimetype: "text/plain"
- icomment: