harness / ff-ruby-server-sdk

Ruby Server SDK for integrating with Harness Feature Flag service.
https://www.harness.io/
Apache License 2.0
3 stars 5 forks source link

FFM-11657 Sort serving rules and flag rules in cache code #41

Closed erdirowlands closed 4 months ago

erdirowlands commented 4 months ago

What

Why

Avoid the cost of sorting multiple times during evaluations when it is unnecessary, which can add evaluation latency.

Testing

TestGrid - both old style and new style scenarios pass.