Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 97b61a5ac7accfcffb39d45019a02eaa6131940f
Ticket: a4a7f2abd376b2806073d2865f07b7d910b04574
Tcl [string match] and [glob] are exponential complexity for bad patterns, could be linear
User & Date: aspect on 2017-05-06 00:48:05
Changes

  1. icomment:
    Tcl_StringCaseMatch changes pushed to [aspect-string-match] branch.  I was hoping to get it a bit prettier before pushing, but it didn't happen.  Probably should have been one or two commits rather than three, since I went around in a circle on if vs switch :).
    
    The comments should at least be brought into style before applying this same transform to the other cases.
    
    I think the behaviour change in the first commit should be acceptable - note that \ at end is tested by 11.42 and 11.50.
    
  2. login: "aspect"
  3. mimetype: "text/plain"