1. 11 Jan, 2016 1 commit
  2. 29 Nov, 2015 2 commits
  3. 31 Oct, 2015 1 commit
  4. 05 Jul, 2015 1 commit
  5. 04 May, 2015 1 commit
  6. 08 Feb, 2015 1 commit
    • Damien George's avatar
      py: Parse big-int/float/imag constants directly in parser. · 7d414a1b
      Damien George authored
      Previous to this patch, a big-int, float or imag constant was interned
      (made into a qstr) and then parsed at runtime to create an object each
      time it was needed.  This is wasteful in RAM and not efficient.  Now,
      these constants are parsed straight away in the parser and turned into
      objects.  This allows constants with large numbers of digits (so
      addresses issue #1103) and takes us a step closer to #722.
      7d414a1b
  7. 21 Jan, 2015 1 commit
    • Damien George's avatar
      py: Remove mp_obj_str_builder and use vstr instead. · 05005f67
      Damien George authored
      With this patch str/bytes construction is streamlined.  Always use a
      vstr to build a str/bytes object.  If the size is known beforehand then
      use vstr_init_len to allocate only required memory.  Otherwise use
      vstr_init and the vstr will grow as needed.  Then use
      mp_obj_new_str_from_vstr to create a str/bytes object using the vstr
      memory.
      
      Saves code ROM: 68 bytes on stmhal, 108 bytes on bare-arm, and 336 bytes
      on unix x64.
      05005f67
  8. 01 Jan, 2015 1 commit
  9. 29 Nov, 2014 1 commit
  10. 06 Oct, 2014 1 commit
  11. 03 Oct, 2014 1 commit
  12. 30 Aug, 2014 1 commit
  13. 03 Jul, 2014 1 commit
  14. 21 Jun, 2014 1 commit
  15. 19 Jun, 2014 1 commit
  16. 02 Jun, 2014 1 commit
  17. 24 May, 2014 1 commit
  18. 20 May, 2014 1 commit
  19. 13 May, 2014 1 commit
  20. 12 May, 2014 1 commit
  21. 11 May, 2014 1 commit
  22. 03 May, 2014 1 commit
    • Damien George's avatar
      Add license header to (almost) all files. · 04b9147e
      Damien George authored
      Blanket wide to all .c and .h files.  Some files originating from ST are
      difficult to deal with (license wise) so it was left out of those.
      
      Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
      04b9147e
  23. 26 Apr, 2014 1 commit
  24. 19 Apr, 2014 2 commits
  25. 18 Apr, 2014 2 commits
  26. 11 Apr, 2014 2 commits
  27. 10 Apr, 2014 2 commits
    • Damien George's avatar
      bf8ae4d9
    • Paul Sokolovsky's avatar
      py: Start implementing "struct" module. · e9db8404
      Paul Sokolovsky authored
      Only calcsize() and unpack() functions provided so far, for little-endian
      byte order. Format strings don't support repition spec (like "2b3i").
      
      Unfortunately, dealing with all the various binary type sizes and alignments
      will lead to quite a bloated "binary" helper functions  - if optimizing for
      speed. Need to think if using dynamic parametrized algos makes more sense.
      e9db8404