1. 23 Sep, 2016 1 commit
    • Damien George's avatar
      py: Shrink mp_arg_t struct by using reduced-size integer members. · e97df976
      Damien George authored
      qstrs ids are restricted to fit within 2 bytes already (eg in persistent
      bytecode) so it's safe to use a uint16_t to store them in mp_arg_t.  And
      the flags member only needs a maximum of 2 bytes so can also use uint16_t.
      
      Savings in code size can be significant when many mp_arg_t structs are
      used for argument parsing.  Eg, this patch reduces stmhal by 480 bytes.
      e97df976
  2. 22 Sep, 2016 8 commits
  3. 21 Sep, 2016 7 commits
  4. 20 Sep, 2016 7 commits
  5. 19 Sep, 2016 8 commits
  6. 18 Sep, 2016 5 commits
  7. 17 Sep, 2016 4 commits