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 #368

Open mahendraDV opened 4 months ago

mahendraDV 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 were made.