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.