Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fa0245460fc068d580a282f264ea3aa088e20c96
Ticket: 2637173fffffffffffffffffffffffffffffffff
impure bytearray bugs
User & Date: dgp on 2009-02-25 14:38:46
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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
    
    
    
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "10. Objects"
  11. title changed to: "impure bytearray bugs"
  12. type changed to: "Bug"