Skip to content

Thread-safety of cel.Program #878

Answered by TristonianJones
yosiat asked this question in Q&A
Discussion options

You must be logged in to vote

My apologies for not spotting this question sooner. The cel.Program is intended to be concurrency safe. There's no shared state within the cel.Program. If state tracking is enabled, then there's an allocation done per-evaluation to capture intermediate values from a single Eval call, but this state isn't shared either.

Hopefully that helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TristonianJones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants