Skip to content
Tcl Source Code History Of Ticket 85b87a7570d65ad9
Login

History Of Ticket 85b87a7570d65ad9

Artifacts Associated With Ticket 85b87a7570d65ad9

  1. Ticket change [f8c03af7ea] (rid 145230) by dgp on 2016-03-07 19:32:18:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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?
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "10. Objects"
    14. title initialized to: "TclByteArrayMatch - unused? premature opt?"
    15. type initialized to: "Bug"
  2. Ticket change [042521457d] (rid 145231) by dgp on 2016-03-08 03:44:58:

    1. 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.
      
    2. login: "dgp"
    3. mimetype: "text/plain"