Originally Posted by VRoscioli
Will this be re-running the rotation test for each and every piece of gear now (assuming that option is turned on)? If so, won't this take roughly forever? Perhaps there should be a cutoff as to what gear it tries. (For example, the Ranged Weapon button appears to try *every* ranged weapon in the spreadsheet, including ones that don't even have a chance of being anywhere near what is currently equipped.) Maybe it could not even bother trying anything that is currently a 10% or more DPS loss or something.
|
No, it doesn't run the test for each piece of item anymore, since the effect of a single piece of gear on the rotation is small (apart from haste affecting Steady Shot, no other stat does).
I'm taking this opportunity to try and profile the code a bit and see where it can be optimised.
As a comparison, on my computer (E8500 dual-core with 4gb RAM) the current 'Calculate Attributes' button takes roughly 30 seconds to compute stat values. After that the Gear Planner is pretty much instant, naturally.
The new code that tries an item and see the DPS effects takes about 500 ms per item to compute the DPS increase. The biggest part of this time, 360-370ms, is spent re-calculating the entire sheet (to get the DPS figure of the new item).
The more I can optimise that part spent calculation all the sheet, the faster it will be to compute an item's DPS value.
EDIT:
I've made some improvements to the speed that will be very noticeable. I hope to get the whole system done today and a test-version out for people to try.