
July 10, 2020
6:03 a.m.
On Fri, Jul 10, 2020 at 2:56 PM Chris Angelico <rosuav@gmail.com> wrote:
but it might be mutated in between. So the list would have to be reconstructed fresh every time.
Do you think the use case is common enough to add a feature to builtin type? I can not imagine. Anyway, if you want to benchmark that use case, the benchmark should include time to mutate dict too. Otherwise, performance benefit is exaggerated and no one trusts the benchmark. Regards, -- Inada Naoki <songofacandy@gmail.com>