-
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, |
Beta Was this translation helpful? Give feedback.
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:
|
Beta Was this translation helpful? Give feedback.
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.Program
across multiple goroutines.Not Thread-Safe:
*vm.VM
*vm.VM
instance.*vm.VM
.expr.Run()
call creates a new VM.Bes…