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

DM-32300: Simplify _build_distances_and_angles to only use numpy arrays #153

Merged
merged 1 commit into from Nov 6, 2021

Conversation

morriscb
Copy link
Contributor

No description provided.

Copy link

@kherner kherner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine; any particular reason for float32 and uint16 as opposed to float64 and uint32?

@morriscb
Copy link
Contributor Author

morriscb commented Nov 6, 2021

It's for memory. The distance array doesn't need to be more precise than 32. The other array is 16 is the limit the size of the these pre-computed arrays and make the ref_id a bit smaller in memory.

@morriscb morriscb merged commit 0f16b58 into master Nov 6, 2021
@morriscb morriscb deleted the tickets/DM-32300 branch November 6, 2021 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants