1. 03 Jul, 2017 5 commits
  2. 02 Jul, 2017 11 commits
  3. 01 Jul, 2017 7 commits
  4. 30 Jun, 2017 5 commits
  5. 29 Jun, 2017 2 commits
    • Damien George's avatar
    • Damien George's avatar
      py/objnamedtuple: Simplify and remove use of alloca building namedtuple. · 265500c5
      Damien George authored
      Prior to this patch there were 2 paths for creating the namedtuple, one for
      when no keyword args were passed, and one when there were keyword args.
      And alloca was used in the keyword-arg path to temporarily create the array
      of elements for the namedtuple, which would then be copied to a
      heap-allocated object (the namedtuple itself).
      This patch simplifies the code by combining the no-keyword and keyword
      paths, and removing the need for the alloca by constructing the namedtuple
      on the heap before populating it.
      Heap usage in unchanged, stack usage is reduced, use of alloca is removed,
      and code size is not increased and is actually reduced by between 20-30
      bytes for most ports.
  6. 28 Jun, 2017 10 commits