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.
This commit is contained in:
parent
ad7213d3c3
commit
f020eac6a8
5
py/obj.h
5
py/obj.h
@ -383,11 +383,6 @@ typedef struct _mp_rom_map_elem_t {
|
|||||||
mp_rom_obj_t value;
|
mp_rom_obj_t value;
|
||||||
} mp_rom_map_elem_t;
|
} 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 {
|
typedef struct _mp_map_t {
|
||||||
size_t all_keys_are_qstrs : 1;
|
size_t all_keys_are_qstrs : 1;
|
||||||
size_t is_fixed : 1; // a fixed array that can't be modified; must also be ordered
|
size_t is_fixed : 1; // a fixed array that can't be modified; must also be ordered
|
||||||
|
Loading…
x
Reference in New Issue
Block a user