Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e4045249f25d0d3bebb0e24e3e31a1bf4e845eaa
Ticket: 496456ffffffffffffffffffffffffffffffffff
regexp engine takes too much RAM
User & Date: dkf on 2001-12-27 22:36:04
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Experiment indicates that replacing ( with (?: shaves around 5MB off the size of the image.
    Don't know how much memory the RE engine needs to allocate for all that stuff, though I
    suspect that you don't want to use a single RE for this; the initial compile-time gets a bit
    humungous.
    
    Matching each RE line separately keeps the space required *much* smaller, but makes
    the length of time to check an unlisted site longer after the initial compilation (which is also
    much shorter.)  Looks like a time-space tradeoff...
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. priority changed to: "3 Low"
  5. username: "dkf"