Issue Details (XML | Word | Printable)

Key: GEOT-1101
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Andrea Aime
Reporter: Andrea Aime
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GeoTools

ReTypeFeatureReader may avoid creating garbage

Created: 01/Jan/07 04:58 AM   Updated: 08/Jan/07 03:33 AM
Component/s: data
Affects Version/s: 2.2.2, 2.3.0
Fix Version/s: 2.3.1, 2.4-M0


 Description  « Hide
ReTypeFeatureReder is often used as a datastore internal thing, there's no need to duplicate attributes while copying them, it's a waste of time and hits the garbage collection (it's a minor optimization anyways).

Add a flag to avoid copying altogheter.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Andrea Aime added a comment - 08/Jan/07 03:33 AM
Fixed on 2.3.x and trunk, did not feel like changing 2.2.x since the change is a bit more extensive and the performance improvement not as noticeable as with geot-1102