-
-
Notifications
You must be signed in to change notification settings - Fork 464
-
-
Which is the recommended way to deal with custom functions.
a) passing with env map toRun
b) creating inCompilewithexpr.Function -
Is there a performance difference?
Beta Was this translation helpful? Give feedback.
All reactions
Which is the recommended way to deal with custom functions.
Expr has three ways to define function: via map, via methods on env struct, via expr.Function.
Is there a performance difference?
The fastest way is via expr.Function.
Replies: 1 comment 2 replies
-
Which is the recommended way to deal with custom functions.
Expr has three ways to define function: via map, via methods on env struct, via expr.Function.
Is there a performance difference?
The fastest way is via expr.Function.
Beta Was this translation helpful? Give feedback.
All reactions
-
Expr has three ways to define function: via map, via methods on env struct, via expr.Function.
In which situation you prefer use which one? Maybe some example of some situation where one is more suitable than the others?
Is there functional difference?
Beta Was this translation helpful? Give feedback.
All reactions
-
It depends on your data structures. For example, Order{} structure.
Beta Was this translation helpful? Give feedback.