Message364428
Victor,
frozenset is the last basic builtin collection which is not applied to this improvement yet.
frozenset also show similar performance improvement by using vectorcall
pyperf compare_to master.json bpo-37207.json
Mean +- std dev: [master] 2.26 us +- 0.06 us -> [bpo-37207] 2.06 us +- 0.05 us: 1.09x faster (-9%)
> What I mean is that vectorcall should not be used for everything
I definitely agree with this opinion. So I ask your opinion before submit the patch.
frozenset is not frequently used than the list/set/dict.
but frozenset is also the basic builtin collection, IMHO it is okay to apply vectorcall.
What do you think? |
|
Date |
User |
Action |
Args |
2020-03-17 13:58:06 | corona10 | set | recipients:
+ corona10, vstinner, petr.viktorin, methane, Mark.Shannon, jdemeyer, miss-islington |
2020-03-17 13:58:06 | corona10 | set | messageid: <1584453486.17.0.548213737171.issue37207@roundup.psfhosted.org> |
2020-03-17 13:58:06 | corona10 | link | issue37207 messages |
2020-03-17 13:58:06 | corona10 | create | |
|