aboutsummaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2020-02-12 18:09:27 -0600
committerDamien George <damien.p.george@gmail.com>2020-02-13 13:14:17 +1100
commitf020eac6a85fb956dbd61ff6a138ad94ac87a688 (patch)
tree2a822e7823734164b2862d90ae6d14042cea3455 /py/obj.h
parentad7213d3c31bccb26a3f54f7492ccf4b0cc920f3 (diff)
py/obj.h: Remove TODO idea comment about truncated mp_map_t.
It was suggested to move this to a GitHub issue rather than keep it in the code, which isn't really sustainable for all ideas.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/py/obj.h b/py/obj.h
index fece5e73d..88134b42f 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -383,11 +383,6 @@ typedef struct _mp_rom_map_elem_t {
mp_rom_obj_t value;
} mp_rom_map_elem_t;
-// TODO maybe have a truncated mp_map_t for fixed tables, since alloc=used
-// put alloc last in the structure, so the truncated version does not need it
-// this would save 1 ROM word for all ROM objects that have a locals_dict
-// would also need a trucated dict structure
-
typedef struct _mp_map_t {
size_t all_keys_are_qstrs : 1;
size_t is_fixed : 1; // a fixed array that can't be modified; must also be ordered