test_no_exceptions takes a lot of time (two minutes on my not really old hardware). Yes, it iterates over every outer key and every yat mode, but two minutes? We need to profile.
After the commit above, my profiled execution of that test lowered from ≈160 s to ≈100 s (it’s longer than unprofiled time, which is now ≈70 s, but I hadn’t noted the original one). Alas, much to be desired still.
test_no_exceptions
takes a lot of time (two minutes on my not really old hardware). Yes, it iterates over every outer key and every yat mode, but two minutes? We need to profile.