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

fix performance and correctness of base points, and test #89

Merged
merged 3 commits into from
Jan 18, 2023
Merged

Conversation

rafaqz
Copy link
Member

@rafaqz rafaqz commented Jan 17, 2023

Some performance and correctness fixes. As much as possible we check that tuples and vectors are the right length.

I think the performance of GeoJSON was also affected by how slow the Vector methods were here - they are 100x faster now.

Found working on #78. Lets get this merged quickly so that can be merged

@rafaqz rafaqz requested a review from evetion January 17, 2023 00:17
@rafaqz
Copy link
Member Author

rafaqz commented Jan 17, 2023

Note: needs some tests for is3d, ismeasured etc on Tuple points

@rafaqz rafaqz changed the title fix base performance and correctness of base points, and test fix performance and correctness of base points, and test Jan 17, 2023
src/base.jl Show resolved Hide resolved
@rafaqz
Copy link
Member Author

rafaqz commented Jan 17, 2023

This should be ready to merge

@rafaqz
Copy link
Member Author

rafaqz commented Jan 18, 2023

Also note: this will be breaking if anyone was using e.g. length 5 points. But I think it was a bug that that was allowed at all.

@rafaqz rafaqz merged commit b43d08d into main Jan 18, 2023
@rafaqz rafaqz deleted the better_base branch January 18, 2023 18:32
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.

2 participants