Skip to content

perf: optimize data structures in context_bridge::ObjectCache - #27665

Merged
codebytere merged 1 commit into
10-x-yfrom
trop/10-x-y-bp-perf-optimize-data-structures-in-context_bridge-objectcache-1612816250633
Feb 9, 2021
Merged

codebytere merged 1 commit into
10-x-yfrom
trop/10-x-y-bp-perf-optimize-data-structures-in-context_bridge-objectcache-1612816250633

Conversation

@trop

@trop trop Bot commented Feb 8, 2021

Copy link
Copy Markdown
Contributor

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 recently label Feb 8, 2021
@trop
trop Bot requested a review from MarshallOfSound February 8, 2021 20:31
@trop trop Bot added 10-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 recently and removed new-pr 🌱 PR opened recently labels Feb 8, 2021
@codebytere
codebytere merged commit b5de6d9 into 10-x-y Feb 9, 2021
@release-clerk

release-clerk Bot commented Feb 9, 2021

Copy link
Copy Markdown

No Release Notes

@trop
trop Bot deleted the trop/10-x-y-bp-perf-optimize-data-structures-in-context_bridge-objectcache-1612816250633 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

10-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.

2 participants