Adds a spinner used as an indicator that the tool is working. I broke down the duplicate function finder into multiple steps to give faster feedback to the user.
I am now checking the duplicates only between overlays that make sense to search to. Splitting ric will only cross-reference it with ric us. Same for the servants, stages and the sel stage. On my machine this change trimmed down the execution time from 1m25s to just 10s.
The spinner is very easy to use. Just use spinner_start instead of print. Use spinner_stop(True) to terminate it and go to a new line, but a new spinner_start will do that for you. Use spinner_stop(False) when an operation fails.
This can be merged independently from #1643 and #1644.
Adds a spinner used as an indicator that the tool is working. I broke down the duplicate function finder into multiple steps to give faster feedback to the user.
I am now checking the duplicates only between overlays that make sense to search to. Splitting
ric
will only cross-reference it withric us
. Same for the servants, stages and thesel
stage. On my machine this change trimmed down the execution time from 1m25s to just 10s.The spinner is very easy to use. Just use
spinner_start
instead ofprint
. Usespinner_stop(True)
to terminate it and go to a new line, but a newspinner_start
will do that for you. Usespinner_stop(False)
when an operation fails.This can be merged independently from #1643 and #1644.