CacheControl / json-rules-engine

A rules engine expressed in JSON
ISC License
2.6k stars 461 forks source link

Refactor prioritizeAndRun method for performance optimization and readability enhancement #367

Closed babumhndr closed 4 months ago

babumhndr commented 4 months ago

Changes include:

These modifications ensure that the method continues to evaluate conditions based on the provided operator while improving its performance and maintainability. No functional changes are made.