Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.

[WIP] do not create __dict__s for builtin types #880

Closed
wants to merge 4 commits into from

Conversation

patiences
Copy link
Contributor

No description provided.

@patiences
Copy link
Contributor Author

patiences commented Aug 7, 2018

This PR has been stalling for the past week because I've been trying to understand why the performance gain (~1% improvement is what I've been seeing on my benchmarking test) is so modest, when this change was supposed to have a bigger effect. It turns out that creating java.util.HashMaps is not expensive at all as the table is not created until something is put in the table (a source here). In my opinion it's not worth making this change for such a small benefit, plus, then there is the need to distinguish between org/python/Objects that have __dict__s and ones that don't. Does that sound reasonable @freakboy3742?

@patiences patiences closed this Aug 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant