Summary: | [Parser] COMPLETION_PARSE takes 1 second longer than COMPLETE_PARSE | ||
---|---|---|---|
Product: | [Tools] CDT | Reporter: | John Camelon <john.camelon> |
Component: | cdt-parser | Assignee: | Andrew Niefer <aniefer> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | cdtdoug |
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
John Camelon
2004-07-12 10:06:58 EDT
COMPLETION_PARSE now uses the same hashmap as the other parses. Prefix lookup is using a treemap to sort the lookup results, we can probably do better. Treemap is out. We are now using our own ObjectMap to collect symbols during a lookup. If we are doing a prefix lookup, then we do a in-place sort of the map via a quicksort. this is in the head, and will be merged to the branch with the rest of the parser work fix is now in 2.0.1 |