Bug 3669 - CDT parser is looping too long on parsing files
Summary: CDT parser is looping too long on parsing files
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rick Moseley
URL:
Keywords:
Depends on:
Blocks: 1633 3392
  Show dependency treegraph
 
Reported: 2006-12-06 21:45 UTC by Rick Moseley
Modified: 2006-12-06 21:48 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
parse.
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.