Skip to content
Snippets Groups Projects
Select Git revision
  • 18e6358480e640fd94a9383d5fa7d9b8cc2b9f73
  • master default protected
2 results

compile.c

Blame
    • Damien George's avatar
      18e63584
      py/emit: Combine setup with/except/finally into one emit function. · 18e63584
      Damien George authored
      This patch reduces code size by:
      
         bare-arm:   -16
      minimal x86:  -156
         unix x64:  -288
      unix nanbox:  -184
            stm32:   -48
           cc3200:   -16
          esp8266:   -96
            esp32:   -16
      
      The last 10 patches combined reduce code size by:
      
         bare-arm:  -164
      minimal x86: -1260
         unix x64: -3416
      unix nanbox: -1616
            stm32:  -676
           cc3200:  -232
          esp8266: -1144
            esp32:  -268
      18e63584
      History
      py/emit: Combine setup with/except/finally into one emit function.
      Damien George authored
      This patch reduces code size by:
      
         bare-arm:   -16
      minimal x86:  -156
         unix x64:  -288
      unix nanbox:  -184
            stm32:   -48
           cc3200:   -16
          esp8266:   -96
            esp32:   -16
      
      The last 10 patches combined reduce code size by:
      
         bare-arm:  -164
      minimal x86: -1260
         unix x64: -3416
      unix nanbox: -1616
            stm32:  -676
           cc3200:  -232
          esp8266: -1144
            esp32:  -268
    loop_count-3-while_up.py 90 B
    import bench
    
    def test(num):
        i = 0
        while i < num:
            i += 1
    
    bench.run(test)