Follow-up Comment #5, bug #16089 (project wesnoth):

A comparison test in the test scenario shows a difference for me. I called
activate() directly after creating this_unit in SUF. It's about 0.1 secs for
10 calls to the SUF, and 13 for 1000.
++
        local s = os.clock()
        for i = 1, 1000, 1 do
                wesnoth.get_units({ side = 1 })
        end
        local e = os.clock()
        local difftime = e - s
        wesnoth.message(tostring(difftime))
--


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16089>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to