Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 010a404dbf44b34321031482165af5f9439d1b79
Ticket: 8f245009b0bde00454c3cecfef1d230596f78b51
Another case that hangs regexp optimizer pullback() phase
User & Date: tgl 2013-10-29 23:39:18
Changes

  1. icomment:
    I experimented with modifying the code to suppress pullback/pushfwd when there's a circular loop of constraints involving the target state.  While this wasn't hard to code, it turns out not to work at all, because the problem case then ends up hitting the assert(NOTREACHED) in compact().  So my fear that the pullback processing is necessary was correct: not only the regex executor, but even the data representation used for CNFAs, depend on the assumption that pullback/pushfwd can eliminate *every* non-LACON constraint arc.
    
    I don't know whether this was a fundamental oversight on Henry Spencer's part, or whether this assumption is really OK but there's some bug in the way pullback/pushfwd operate.  In any case, I'm clueless at the moment about how we might fix this.
    
  2. login: "tgl"
  3. mimetype: "text/plain"
  4. username: "tgl"