Skip to content
  • Damien George's avatar
    py/compile: Combine compiler-opt of 2 and 3 tuple-to-tuple assignment. · 253f2bd7
    Damien George authored
    This patch combines the compiler optimisation code for double and triple
    tuple-to-tuple assignment, taking it from two separate if-blocks to one
    combined if-block.  This can be done because the code for both of these
    optimisations has a lot in common.  Combining them together reduces code
    size for ports that have the triple-tuple optimisation enabled (and doesn't
    change code size for ports that have it disabled).
    253f2bd7