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

memoize smartcalc operation execution #1

Open
superhawk610 opened this issue Feb 19, 2022 · 0 comments
Open

memoize smartcalc operation execution #1

superhawk610 opened this issue Feb 19, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@superhawk610
Copy link
Owner

superhawk610 commented Feb 19, 2022

Currently, SmartCalc::execute is run every 250ms, regardless of whether any input is available or if the input has changed since the last time it was run. Ideally, execute should only be called when there is new/changed input. Some amount of caching may also be desirable.

This is currently all done inline inside spawn, which also isn't ideal. It should probably be moved into its own module. Done in #9.

@superhawk610 superhawk610 added enhancement New feature or request good first issue Good for newcomers labels Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant