1. 27 Oct, 2017 3 commits
    • Paul Sokolovsky's avatar
      py/objtype: Define all special methods if requested. · 9b9dbc58
      Paul Sokolovsky authored
      If MICROPY_PY_ALL_SPECIAL_METHODS is defined, actually define all special
      methods (still subject to gating by e.g. MICROPY_PY_REVERSE_SPECIAL_METHODS).
      
      This adds quite a number of qstr's, so should be used sparingly.
      9b9dbc58
    • Joar Wandborg's avatar
      docs/library/network: Add dhcp_hostname parameter · b9923262
      Joar Wandborg authored
      I have not actually tested this, going by information available in https://forum.micropython.org/viewtopic.php?t=2584
      b9923262
    • Damien George's avatar
      extmod/vfs: Replace VLA in proxy func with small, static sized array. · c64eb4f8
      Damien George authored
      VLAs can be expensive on stack usage due to stack alignment requirements,
      and also the fact that extra local variables are needed to track the
      dynamic size of the stack.  So using fixed-size arrays when possible can
      help to reduce code size and stack usage.
      
      In this particular case, the maximum value of n_args in the VLA is 2 and so
      it's more efficient to just allocate this array with a fixed size.  This
      reduces code size by around 30 bytes on Thumb2 and Xtensa archs.  It also
      reduces total stack usage of the function: on Thumb2 the usage with VLA is
      between 40 and 48 bytes, which is reduced to 32; on Xtensa, VLA usage is
      between 64 and 80 bytes, reduced to 32; on x86-64 it's at least 88 bytes
      reduced to 80.
      c64eb4f8
  2. 26 Oct, 2017 3 commits
  3. 25 Oct, 2017 1 commit
  4. 24 Oct, 2017 2 commits
  5. 23 Oct, 2017 1 commit
  6. 21 Oct, 2017 1 commit
  7. 19 Oct, 2017 6 commits
  8. 17 Oct, 2017 2 commits
  9. 16 Oct, 2017 9 commits
  10. 15 Oct, 2017 1 commit
  11. 13 Oct, 2017 3 commits
  12. 12 Oct, 2017 1 commit
  13. 11 Oct, 2017 4 commits
  14. 10 Oct, 2017 3 commits