Minimize transient garbage creation identified by allocation profiling

* UURIFactory, canonicalize/**, PathologicalPathDecideRule, ExtractorHTML
    use recycled matchers via TextUtils
* CrawlURI, KeyedProperties, OverlayContext, SheetOverlaysManager
    use ArrayList and indexed access rather than LinkedList and iterator instances
This commit is contained in:
gojomo committed 2010-11-05 21:34:53 +00:00
1 parent acedca1788
commit f4d69b37da
12 files changed
+64 -66

No files matched your search

@@ -315,7 +315,7 @@ BeanFactoryAware, OverlayMapsSource, ApplicationListener {
List<String> foundPrefixes = PrefixFinder.findKeys(sheetNamesBySurt, effectiveSurt);
for(String prefix : foundPrefixes) {
for(String name : sheetNamesBySurt.get(prefix)) {
curi.getOverlayNames().push(name);
curi.getOverlayNames().add(name);
}
}
// apply deciderule-based overlays