DefaultSqlBuilder optimization turns out to be a slowdown
---------------------------------------------------------
Key: GEOT-1465
URL: http://jira.codehaus.org/browse/GEOT-1465
Project: GeoTools
Issue Type: Bug
Components: data jdbc
Affects Versions: 2.4-RC0
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.4-RC1, 2.5-M0
DefaultSqlBuilder tries to avoid recompting the filter split if the same filter
is provided multiple times in a row. Unfortuntely it uses equals, which in
turns triggers a topological geometry equality operation in the case of
geometry filters, which is quite expensive. Using == should do the trick
without unneeded extra load.
--
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