23 Sep
2020
23 Sep
'20
5:23 a.m.
On Thu, Sep 17, 2020 at 11:50 PM Marco Sulla <Marco.Sulla.Python@gmail.com> wrote:
I do not like code duplication, but dictobject.c has already a lot of duplicated copies of the same function for optimization (see lookdict).
lookdict is very special case. It is used for namespace lookup. It is the performance critical part of CPython. We should take care of cost/merit ratio always. Regards, -- Inada Naoki <songofacandy@gmail.com>