]> git.ipfire.org Git - thirdparty/automake.git/commit
Speedup Automake::DisjConditions::invert().
authorRaja R Harinath <harinath@acm.org>
Sun, 30 Mar 2003 01:56:28 +0000 (01:56 +0000)
committerRaja R Harinath <harinath@acm.org>
Sun, 30 Mar 2003 01:56:28 +0000 (01:56 +0000)
commit9319bbc5773f53251513a293ddabe62cbcc39dff
tree5bb40d43db0b8371cf798db0f16f56dd25fd1275
parent6197026f92c4c2af988b9778277c22a15bf70c04
Speedup Automake::DisjConditions::invert().
* lib/Automake/Condition.pm (multiply): New.
* lib/Automake/DisjConditions.pm (_multiply): Use it.
(sub_conditions): Likewise.

* lib/Automake/Condition.pm (reduce): Rename to ...
(reduce_and): ... this.
(reduce_or): New.
* lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
* lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
(test_reduce_and): ... this.
(test_reduce_or): New.
* lib/Automake/tests/DisjConditions.pl
(test_invert): Update to reflect effect of reduce_or().
(test_simplify): Don't skip invert() on larger inputs.
ChangeLog
lib/Automake/Condition.pm
lib/Automake/DisjConditions.pm
lib/Automake/tests/Condition.pl
lib/Automake/tests/DisjConditions.pl