hsr-optimizer icon indicating copy to clipboard operation
hsr-optimizer copied to clipboard

[Performance] Improve score simulation performance

Open fribbels opened this issue 1 year ago • 0 comments

Motivation

image

Currently some characters have to do this for their combat scoring, which is over 4000 simulation runs on the card load

This comes from having to calculate:

  • Optimal substat distribution for body/feet/rope/sphere permutations for 48x substat benchmark
  • Optimal substat distribution for sphere/rope permutations for 54x substat benchmark

Goal

Improve the simulation speed / improve the optimal substat algorithm so these characters don't lag the page as much. The goal is to load the sim without a noticeable slowdown.

fribbels avatar Jun 09 '24 07:06 fribbels