rangi: perform the matching only on valid nodes
commitc60b68b183891110a31bcfd024412ab236880f38
authorAli Gholami Rudi <ali@rudi.ir>
Wed, 3 Oct 2012 15:45:00 +0000 (3 19:15 +0330)
committerAli Gholami Rudi <ali@rudi.ir>
Wed, 3 Oct 2012 15:45:00 +0000 (3 19:15 +0330)
treea11d2d581261fcc45e15a4aa9abec263d7071823
parent5288479699f4af7dfa7b1c6ea89e83deb1477711
rangi: perform the matching only on valid nodes

This optimization makes some of the tests more than three times faster.
mat.c
rangi.c
rangi.h