fix: use set instead of list for arcs_executed, fixes poor performance (#1901)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
1 file changed