Skip to content

Add arrayutils with linear_map function #16

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 5 commits into from
Oct 9, 2024
Merged

Add arrayutils with linear_map function #16

merged 5 commits into from
Oct 9, 2024

Conversation

jonnor
Copy link
Contributor

@jonnor jonnor commented Oct 7, 2024

The function can also handle, so it can be used for array type conversions also.
On ESP32, 2000 samples can be converted from float to int16 and back in under 3ms. This is around 30x faster than using @micropython.native

@jonnor jonnor merged commit f6356bd into master Oct 9, 2024
2 checks passed
@jonnor jonnor deleted the array-map-linear branch October 9, 2024 17:35
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