Merge: phase: Do not revisit all annotations for each phase
authorJean Privat <jean@pryen.org>
Wed, 27 Aug 2014 20:26:49 +0000 (16:26 -0400)
committerJean Privat <jean@pryen.org>
Wed, 27 Aug 2014 20:26:49 +0000 (16:26 -0400)
commit1b97ef55c8dda55dbdc4a7ba90566f8a95dc651d
tree646b836a51f97fb19ed68c0c12638b8db29a3455
parentda25554d40444ce4984d37f4564042900cdeea8f
parent73cb54da2420465474786670aae53181e5d0f8be
Merge: phase: Do not revisit all annotations for each phase

Instead of one visit per phase per module, do one single visit per module that collect the nodes.

With the standard `nitg nitg.nit`, the gain is approx 4%. Not so bad.

Pull-Request: #690
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>