Dong-hee Na <donghee...@python.org> added the comment:
@vstinner I noticed that the msg390083 was based on a non-optimized build. https://github.com/python/cpython/pull/25154#issuecomment-949061515 ran with the same build option condition. Here is the PGO + LTO based benchmark. Still fast. +-----------------+----------+----------------------+ | Benchmark | base_opt | vectorcall_opt | +=================+==========+======================+ | bench enumerate | 384 ns | 277 ns: 1.39x faster | +-----------------+----------+----------------------+ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43706> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com