Bug 3669

Summary: CDT parser is looping too long on parsing files
Product: frysk Reporter: Rick Moseley <rmoseley>
Component: generalAssignee: Rick Moseley <rmoseley>
Severity: normal CC: mcvet
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1633, 3392    

Description Rick Moseley 2006-12-06 21:45:05 UTC
The CDT parser is taking over 4 and a half minutes to parse the johntheripper
code.  This is a relatively small piece of code and should not take that long to
Comment 1 Rick Moseley 2006-12-06 21:48:01 UTC
This problem was found to be a bug in DOMFactory.java that was adding the same
include paths multiple times.  This was causing those include directories to be
scanned multiple times thereby slowing the parsing.

A new method was added to DOMFactory.java to check to make sure an include path
has not already been added before adding it to the DOM.