|
Hello, Apologies if I missed this somewhere in the documentation. We have a use case where we'd want to compile and keep the rules instead of compiling always before the execution. Image a map which stores a RULE_NAME to Question being,
I found this old discussion, though, couldn't confirm from the same. Thanks, |
Answered by
antonmedv
Sep 6, 2024
Replies: 1 comment 3 replies
|
Expr supports concurrent execution, but there are key differences in how its components handle concurrency. Here's what you need to know: Thread-Safe:
|
3 replies
Answer selected by
rchougule
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expr supports concurrent execution, but there are key differences in how its components handle concurrency. Here's what you need to know:
Thread-Safe:
*program.Program*program.Programacross multiple goroutines.Not Thread-Safe:
*vm.VM*vm.VMinstance.*vm.VM.expr.Run()call creates a new VM.Bes…