land lord win condition is slow as molasse
Bug #647670 reported by
SirVer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Likely reason is the looping over many fields necessary to count the condition. Tree gnome could also do to get a little faster. One possible solution is to implement a Map:foreach() function that calls one function for each field on the map. Or maybe there are other ways to make things quicker.
Related branches
Changed in widelands: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → build16-rc1 |
assignee: | nobody → SirVer (sirver) |
tags: | added: lua winconditions |
Changed in widelands: | |
status: | Incomplete → Triaged |
To post a comment you must log in.
it is true, that wood gnome is quite slow. However when using wood gnome condition, the game runs smoothly, while it lags during calculation in land lord. Basically wood gnome does more calculations than the land lord calculation... I tested it several times with different maps...