TotalTechGeek / json-logic-engine

Construct complex rules with JSON & process them.
MIT License
46 stars 9 forks source link

Make the compiler return the original object in permissive mode, and … #9

Closed TotalTechGeek closed 1 year ago

TotalTechGeek commented 1 year ago

…preserve certain computed results.

In the future I may make this more configurable, but if an item is a deterministic result / permissively preserved, rather than cloning it, it will be captured into a closure dictionary rather than cloned each invocation.