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

[FEAT]: Investigate using np.shift_left/np.shift_right and np.view instead of using multiplication and offset #21

Open
nfelt14 opened this issue Sep 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nfelt14
Copy link
Collaborator

nfelt14 commented Sep 10, 2024

Description

currently converting between types using the RawSample type uses multiplication and addition to convert between uint and int and float. This could probably be done faster using shift_left/shift_right and view

Additional Information

This would only be applicable from integer to integer conversion, as integer to float does not work by using bit shift

@nfelt14 nfelt14 added the enhancement New feature or request label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant