@niconiconi @mei PyPy optimizes this just fine by the way. we recommend it for running Amaranth code that has hot simulation loops, the speedups are significant