Tools/calibration: Optimized the memory usage in loops.
Dict.items() generate intermediate result lists several times, fixed for loops to use dict automatic iteration instead. And use dict in place update instead of build new intermediate dict if possible.
Showing
想要评论请 注册 或 登录