Skip to content

Add offsets to NumTy algorithm #180

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

Merged
merged 8 commits into from
Apr 12, 2025

Conversation

daimond113
Copy link
Contributor

This PR makes the NumTy algorithm smarter by storing only the offset from the minimum value of the range. This means that [255..265] will now store a u8 of [0, 10] and 255 will be added or subtracted as needed.

@daimond113 daimond113 requested a review from sasial-dev April 6, 2025 11:32
@sasial-dev sasial-dev self-assigned this Apr 12, 2025
Copy link
Collaborator

@sasial-dev sasial-dev left a comment

Choose a reason for hiding this comment

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

Thank you!

@sasial-dev sasial-dev merged commit d8c2c8f into red-blox:0.6.x Apr 12, 2025
2 checks passed
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