Skip to content

Optimize evaluate - #857

Open
dsharlet wants to merge 2 commits into
mainfrom
ds/parallel-1
Open

Optimize evaluate#857
dsharlet wants to merge 2 commits into
mainfrom
ds/parallel-1

Conversation

@dsharlet

@dsharlet dsharlet commented Aug 1, 2026

Copy link
Copy Markdown
Owner
  • Remove evaluator class and just pass eval_context to each eval function.
  • Skip evaluating the closure when n = 1 in a parallel loop.
  • Avoid reference counting stmt objects when not necessary

This is a small speedup of some of the `eval` functions, because the eval context is now stored in a register.
@dsharlet
dsharlet requested a review from vksnk August 1, 2026 21:34
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