I just wanted to check if anyone seen/could comment on the following behavior… It seems like is a correlation between the result of calcWeight and the number of times the method is called. I have tested on FastWeighting by multiplying the time variable.
41689 edges - return time;
193468 edges - return 10*time;
215221 edges - return 100*time;
What is the optimum? Or it actually depends upon the algorithm itself and how all weights stack up?
Just optimizing my weighting class that depends upon up to 8 parameters; so the number of times the method is called seems like the lowest hanging fruit.
Date: 11/04/2018 6:32:59 AM