Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise LineString Envelope method #557

Merged
merged 1 commit into from
Oct 15, 2023

Conversation

peterstace
Copy link
Owner

@peterstace peterstace commented Oct 4, 2023

Description

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.

Related Issue

  • N/A

Benchmark Results

NOTE: results are measured between this branch and the commit of master before #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

@peterstace peterstace self-assigned this Oct 4, 2023
@peterstace peterstace merged commit 54bf592 into master Oct 15, 2023
1 check passed
@peterstace peterstace deleted the use_sequence_envelope_instead_of_extend branch October 15, 2023 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant