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

Mask out low bits of input float arrays #301

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Mask out low bits of input float arrays #301

merged 1 commit into from
Jun 26, 2024

Conversation

jakobnissen
Copy link
Member

Float32 has 23 bits of precision, which is more than necessary for Vamb. We can mask out the lower bits, probably with no loss of performance. This helps reducing the disk space usage of Vamb's output.

It almost certainly won't cause a regression, but let's test it nonetheless.

Float32 has 23 bits of precision, which is more than necessary for Vamb.
We can mask out the lower bits, probably with no loss of performance.
This helps reducing the disk space usage of Vamb's output
@jakobnissen jakobnissen added the Needs benchmark Must benchmark before merging this label Apr 19, 2024
@jakobnissen jakobnissen removed the Needs benchmark Must benchmark before merging this label Jun 26, 2024
@jakobnissen jakobnissen merged commit 15597b6 into master Jun 26, 2024
6 checks passed
@jakobnissen jakobnissen deleted the floatmask branch June 26, 2024 06: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.

1 participant