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

Quick Perf Wins #8

Open
4 tasks
nick-thompson opened this issue May 9, 2023 · 0 comments
Open
4 tasks

Quick Perf Wins #8

nick-thompson opened this issue May 9, 2023 · 0 comments

Comments

@nick-thompson
Copy link
Contributor

There's a bit of low hanging fruit for (minorly) improving processing performance:

  • Split out a phasor and a sphasor so that the phasor itself doesn't constantly check for a reset signal
  • Pre-calculate T = 1 / sr in the phasor, root, etc
  • Approximate the trig functions; sin -> Pade, tanh -> Taylor, etc
  • Fast pow and log functions, etc
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

No branches or pull requests

1 participant