LazySearchCollection.isEmtpy() triggers a full index walk
---------------------------------------------------------
Key: GEOT-1472
URL: http://jira.codehaus.org/browse/GEOT-1472
Project: GeoTools
Issue Type: Bug
Components: data shapefile
Affects Versions: 2.4-RC0
Reporter: Andrea Aime
Assignee: Jesse Eichar
Fix For: 2.4-RC1
isEmtpy() is not overridden, the base class will use size() > 0 and that
triggers a full index walk when the first element woult be sufficient.
This one shows up quite prominently in the profiles, especially when the
numbers of fids to read is big (wide bbox).
As usual, assigning to you more as a review mechanism, I'm going to commit a
patch for this shortly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel