[threshold]
I did not follow the discussion about the threshold though, on a quick thought 
I can see downsides to this approach. I suggest doing more timing analysis 
(with AI disabled) to figure out what actually takes time here and if there are 
ways of improving the situation.

> I dont say that the routing is culprit but I believe it has its share...

you have to proof that to make me believe it :). In my benchmarks about timing 
with the drawing code, AI is always dwarfing everything else in profiles, 
especially in longer games - but I rarely look at very large maps, so I'd need 
to proof what actually takes the most time too.

If you feel this approach is an improvement, how about we merge it soonish and 
then go back and try timing a large map with AI disabled to see what actually 
eats cycles. 
-- 
https://code.launchpad.net/~widelands-dev/widelands/request_supply_opt/+merge/280193
Your team Widelands Developers is subscribed to branch 
lp:~widelands-dev/widelands/request_supply_opt.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to