Currently copy_frame uses the existing functions to place each jumper and circuit, which means every one is checked. All that checking is slow, and as we're copying from an existing frame which must be valid, there is no need to run the checks.
Solution: write some dedicated copy routines which don't bother about checks. Should be much faster.
Currently copy_frame uses the existing functions to place each jumper and circuit, which means every one is checked. All that checking is slow, and as we're copying from an existing frame which must be valid, there is no need to run the checks.
Solution: write some dedicated copy routines which don't bother about checks. Should be much faster.