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

Use only one Rhai engine #138

Open
chaosprint opened this issue Jul 16, 2023 · 0 comments
Open

Use only one Rhai engine #138

chaosprint opened this issue Jul 16, 2023 · 0 comments

Comments

@chaosprint
Copy link
Owner

We should run one Rhai engine only and if a node uses Rhai script, we put the code in a scope.

For each iteration, we calculate the result all together.

Ideally, this should decrease the CPU usage a lot.

@chaosprint chaosprint changed the title Use only one Rhai engine! Use only one Rhai engine Dec 21, 2023
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