Optimises LineString's Envelope method by using the Sequence's Envelope
method instead of iterating over the sequence and extending the envelope point
by point.
Check List
Have you:
Added unit tests? Uses existing.
Add cmprefimpl tests? (if appropriate?) N/A
Updated release notes? (if appropriate?) N/A, not really a user-facing change.
Results show small improvements for operations involving envelopes (which is great, since all I was after was to eliminate the regressions caused by #556).
Description
Optimises
LineString
'sEnvelope
method by using theSequence
'sEnvelope
method instead of iterating over the sequence and extending the envelope point by point.Check List
Have you:
Added unit tests? Uses existing.
Add cmprefimpl tests? (if appropriate?) N/A
Updated release notes? (if appropriate?) N/A, not really a user-facing change.
Related Issue
Benchmark Results
NOTE: results are measured between this branch and the commit of master before https://github.com/peterstace/simplefeatures/pull/556 was merged.
Results show small improvements for operations involving envelopes (which is great, since all I was after was to eliminate the regressions caused by #556).
results_0.1s.txt