1. 20 Jul, 2015 1 commit
    • Damien George's avatar
      py: Make qstr hash size configurable, defaults to 2 bytes. · c3bd9415
      Damien George authored
      This patch makes configurable, via MICROPY_QSTR_BYTES_IN_HASH, the
      number of bytes used for a qstr hash.  It was originally fixed at 2
      bytes, and now defaults to 2 bytes.  Setting it to 1 byte will save
      ROM and RAM at a small expense of hash collisions.
      c3bd9415
  2. 30 May, 2015 1 commit
  3. 01 Apr, 2015 1 commit
  4. 11 Jan, 2015 4 commits
  5. 05 Sep, 2014 1 commit
  6. 06 Jun, 2014 1 commit
  7. 03 May, 2014 1 commit
    • stijn's avatar
      More relaxed parsing of preprocessed qstr header · 1dc7f042
      stijn authored
      The original parsing would error out on any C declarations that are not typedefs
      or extern variables. This limits what can go in mpconfig.h and mpconfigport.h,
      as they are included in qstr.h. For instance even a function declaration would be
      rejected and including system headers is a complete no-go.
      That seems too limiting for a global config header, so makeqstrdata now
      ignores everything that does not match a qstr definition.
      1dc7f042
  8. 27 Apr, 2014 1 commit
  9. 15 Apr, 2014 3 commits
  10. 14 Apr, 2014 1 commit
  11. 13 Apr, 2014 2 commits
  12. 11 Apr, 2014 2 commits
  13. 10 Apr, 2014 1 commit
  14. 25 Mar, 2014 1 commit
  15. 10 Mar, 2014 1 commit
  16. 08 Mar, 2014 1 commit
  17. 17 Feb, 2014 1 commit
  18. 15 Feb, 2014 1 commit
    • Damien George's avatar
      Change mp_obj_type_t.name from const char * to qstr. · a71c83a1
      Damien George authored
      Ultimately all static strings should be qstr.  This entry in the type
      structure is only used for printing error messages (to tell the type of
      the bad argument), and printing objects that don't supply a .print method.
      a71c83a1
  19. 24 Jan, 2014 2 commits
  20. 21 Jan, 2014 2 commits