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

Optimization - bind evaluation using @switch #235

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

TimWSpence
Copy link
Owner

@TimWSpence TimWSpence commented Dec 14, 2020

Use the CE3 trick of compiling the eval pattern match to a tableswitch. Benchmarks indicate this gives us a ~20% improvement for evaluating transactions

@TimWSpence TimWSpence merged commit 3bf24d1 into master Dec 14, 2020
@TimWSpence TimWSpence deleted the optimize-eval-with-switch branch December 14, 2020 10:19
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