Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 07dfaa263d1b64ca01fc6dec047f321baf00a25c
Ticket: 1830166fffffffffffffffffffffffffffffffff
improve [regexp] performance
User & Date: hobbs on 2007-11-12 02:01:54
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The attached patch extends the basic conversion of static RE to simple glob in several ways ...
    
    * TclReToGlob function created that does some more extensive conversions, but still conservative to what is possible
    * Add INST_REGEXP that does simple [regexp ?-nocase? ?--? $exp $str] fully compiled
    * Use TclReToGlob in the compilation of regular expressions and cache the result
    * Use cached glob whenever a RE evaluation is requested that matches the profile (has glob equiv, doesn't request match info, no offset, etc)
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "7 High"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "hobbs"
  10. subsystem changed to: "43. Regexp"
  11. title changed to: "improve [regexp] performance"
  12. type changed to: "Patch"