This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Method consumes about 11% of all parsing time om large projects. Because method use sequential search in list. (Example: uts from OpenSolaris contains 5000 elements in list) Rewrite class to improve performance.
fixing: added last search cache. It improves performance in 10 times. But method still is contained in hot spot (consume 2% of time by JourKit profiler on Open Solaris sources). Downgrade to P3. CVS log: Checking in IntToStringCache.java; /shared/data/ccvs/repository/cnd/repository/src/org/netbeans/modules/cnd/repository/util/IntToStringCache.java,v <-- IntToStringCache.java new revision: 1.7; previous revision: 1.6 done
Take into account this issue when repository will be refactored.
Alexander reduced time spent in this function 10 times. It isn't now a hot spot. So I believe the issue is fixed.