Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: optimize data structures in context_bridge::ObjectCache #27664

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Feb 8, 2021

Backport of #27639

See that PR for details.

Notes: no-notes

* Use std::forward_list instead of base::LinkedList for better perf,
more consistent memory management.  Better than std::list because we
don't need the double-linked-list behavior of std::list
* Use std::unordered_map instead of std::map for the v8 hash table
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Feb 8, 2021
@trop trop bot requested a review from MarshallOfSound February 8, 2021 20:31
@trop trop bot added 11-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Feb 8, 2021
@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Feb 8, 2021
@codebytere codebytere merged commit 5f60640 into 11-x-y Feb 9, 2021
@release-clerk
Copy link

release-clerk bot commented Feb 9, 2021

No Release Notes

@trop trop bot deleted the trop/11-x-y-bp-perf-optimize-data-structures-in-context_bridge-objectcache-1612816249894 branch February 9, 2021 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants