[Commits] [wesnoth/wesnoth] 9baae9: avoid scanning all units for a unit filter which g...

GitHub noreply at github.com
Sat Jul 5 18:27:18 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9baae9c6966fc63a8d259091164fde2d0cdb36bb
      https://github.com/wesnoth/wesnoth/commit/9baae9c6966fc63a8d259091164fde2d0cdb36bb
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-05 (Sat, 05 Jul 2014)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  avoid scanning all units for a unit filter which gives a location

This adds a specialized implementation of unit filter -- if unit
filter specifies numbers for both x and y (no , - and not "recall")
then to find all matches we just find that position in the unit_map
rather than scan over all units. This happens behind the scenes.


  Commit: 902ae68437466a41d19e133b7391c965d5d74b08
      https://github.com/wesnoth/wesnoth/commit/902ae68437466a41d19e133b7391c965d5d74b08
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-05 (Sat, 05 Jul 2014)

  Changed paths:
    M src/CMakeLists.txt

  Log Message:
  -----------
  Merge branch 'master' of git://github.com/wesnoth/wesnoth


Compare: https://github.com/wesnoth/wesnoth/compare/1ca572073360...902ae6843746


More information about the Commits mailing list