Dbase numeric parsing is really inefficient
-------------------------------------------
Key: GEOT-1231
URL: http://jira.codehaus.org/browse/GEOT-1231
Project: GeoTools
Issue Type: Task
Components: data shapefile
Affects Versions: 2.3.1
Reporter: Andrea Aime
Assigned To: Ian Wolfe Schneider
Fix For: 2.3.1, 2.4.M2
extractNumberString shows quite prominently in a profile made against a
shapefile with a hundred of integer fields.
This is because three reallocations of memory are performed in this tiny method.
At least for integers and number, it would be a lot better to have some custom
parsing that works directly against
the charbuffer. The code would not be complex (not nearly as complex as
double/float parsing).
--
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