When calculating fixpoint with latest optimizations on wc, according to callgrind it takes 60% of time to calculate fixpoint and 40% of time to do the dump.
Dump is slow because it is badly designed (strings are copied and merged, copying memory again and again). However, the performance is not an issue now.
When calculating fixpoint with latest optimizations on wc, according to callgrind it takes 60% of time to calculate fixpoint and 40% of time to do the dump.