py/objdict: Reword TODO about inlining mp_obj_dict_get to a note.

This commit is contained in:
Damien George 2018-09-27 15:14:12 +10:00
parent baa83a0c6d
commit 814f17a3a4
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ STATIC mp_obj_t dict_binary_op(mp_binary_op_t op, mp_obj_t lhs_in, mp_obj_t rhs_
}
}
// TODO: Make sure this is inlined in dict_subscr() below.
// Note: Make sure this is inlined in load part of dict_subscr() below.
mp_obj_t mp_obj_dict_get(mp_obj_t self_in, mp_obj_t index) {
mp_obj_dict_t *self = MP_OBJ_TO_PTR(self_in);
mp_map_elem_t *elem = mp_map_lookup(&self->map, index, MP_MAP_LOOKUP);