Skip to content

v1.20.0 - Optimizations & persistent storage updates

Compare
Choose a tag to compare
@statsig-kong statsig-kong released this 06 Apr 01:05
· 76 commits to main since this release
8e83469

Made optimizations to evaluation logic:

  • Unmarshal spec defaultValue and rule returnValue on initialization (rather than per evaluation)
  • Remove unnecessary string conversion for layer assignment
  • Replace array contains with map lookup
  • Replace Sprintf with strconv

Impact

  • Reduces layer evaluation for layers with partial allocation by about 50%
  • Reduces general evaluation for dynamic configs, experiments, layers by about 15%

  • Refactored persistent storage interface to include experiment name to solve for concurrent user evaluations across SDK instances

Included In This Release

  • b171689 kenny-statsig
    • support persisted layers (#171)
  • 6f1aea8 kenny-statsig
    • refactor persistent storage (#170)
  • 8fcd077 kenny-statsig
    • optimize string conversion (#169)
  • 95a9fd4 kenny-statsig
    • optimize array contains to lookup (#167)
  • 2eb486f kenny-statsig
    • optimize parsing config values and layer bucketing (#166)

Full Changelog: v1.19.0...1.20.0