Shapefile getCount() is extremely inefficient
---------------------------------------------

                 Key: GEOT-1024
                 URL: http://jira.codehaus.org/browse/GEOT-1024
             Project: GeoTools
          Issue Type: Improvement
            Reporter: Jesse Eichar
             Fix For: 2.1.2


Currently the getCount() method walkthrough the entire shapefile counting the 
records.  This can be improved by using the IndexFile's getRecordCount method 
which is constant in execution time.

-- 
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

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to