This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author corona10
Recipients Mark.Shannon, corona10, jdemeyer, methane, miss-islington, petr.viktorin, vstinner
Date 2020-03-17.13:58:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584453486.17.0.548213737171.issue37207@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2020-03-17 13:58:06corona10setrecipients: + corona10, vstinner, petr.viktorin, methane, Mark.Shannon, jdemeyer, miss-islington
2020-03-17 13:58:06corona10setmessageid: <1584453486.17.0.548213737171.issue37207@roundup.psfhosted.org>
2020-03-17 13:58:06corona10linkissue37207 messages
2020-03-17 13:58:06corona10create