Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a62a967a8282ac21a203b4e0c2562baeaaca31bb
Ticket: 496456ffffffffffffffffffffffffffffffffff
regexp engine takes too much RAM
User & Date: dkf on 2002-01-02 19:00:57
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    It seems that the RE compiler allocates some fairly large objects during its processing (during the coloring of the graph) 
    and in a complex RE these may occupy quite a lot of memory; maybe we need to write a custom allocator for these 
    things?  The alternative is to figure out a way to use smaller color arrays, but I don't understand the code anything like well 
    enough to be able to do that at this point.  :^(
    
    The details can be seen in regcustom.h and regguts.h if you're interested.  (My guess is that the problems really stem 
    from the way that support for characters wider than a byte was added, but that's just a guess at this point.)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"