alternation: speed up remove_alternation when few labels are used

Related to issue #566.

* spot/twaalgos/alternation.cc (alternation_remover::run): Here.
* tests/core/566.test: Augment test case.
* NEWS: Mention the change.
This commit is contained in:
Alexandre Duret-Lutz 2024-03-17 22:42:18 +01:00
parent 1e512d422b
commit f26f3243dd
3 changed files with 102 additions and 38 deletions

View file

@ -135,3 +135,6 @@ EOF
# but it is difficult to test so in the test suite.
res=`autfilt --dualize 21.hoa --stats='%S %E %T %s %e %t'`
test "$res" = "5 13 85 6 13 12582912"
res=`autfilt --complement 21.hoa --stats='%S %E %T %s %e %t'`
test "$res" = "5 13 85 5 11 10485760"