hsr-optimizer
hsr-optimizer copied to clipboard
[Performance] Improve score simulation performance
Motivation
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.