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

refactor: use constexpr lookup tables in gin helper #38818

Merged
merged 2 commits into from
Jun 19, 2023

Conversation

ckerr
Copy link
Member

@ckerr ckerr commented Jun 16, 2023

Description of Change

A followup to #38771. Use base::fixed_flat_map for FromV8() string-to-value conversions.

CC @miniak and @dsanders11 + all reviews welcomed.

Checklist

Release Notes

Notes: none

@ckerr ckerr added semver/patch backwards-compatible bug fixes 26-x-y labels Jun 16, 2023
@ckerr ckerr requested a review from miniak June 16, 2023 03:39
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jun 16, 2023
@ckerr ckerr removed the request for review from miniak June 16, 2023 05:16
@ckerr ckerr marked this pull request as draft June 16, 2023 05:16
@ckerr ckerr marked this pull request as ready for review June 16, 2023 19:14
@ckerr ckerr added target/26-x-y PR should also be added to the "26-x-y" branch. and removed 26-x-y labels Jun 16, 2023
@ckerr ckerr requested a review from miniak June 16, 2023 19:15
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jun 17, 2023
@codebytere codebytere merged commit 97132ec into main Jun 19, 2023
17 checks passed
@codebytere codebytere deleted the refactor/constexpr-lookup-tables-in-gin-helper branch June 19, 2023 08:33
@release-clerk
Copy link

release-clerk bot commented Jun 19, 2023

No Release Notes

@trop
Copy link
Contributor

trop bot commented Jun 19, 2023

I have automatically backported this PR to "26-x-y", please check out #38835

@trop trop bot added in-flight/26-x-y merged/26-x-y PR was merged to the "26-x-y" branch. and removed target/26-x-y PR should also be added to the "26-x-y" branch. in-flight/26-x-y labels Jun 19, 2023
MrHuangJser pushed a commit to MrHuangJser/electron that referenced this pull request Dec 11, 2023
* feat: add gin_helper::FromV8WithLookup()

feat: add gin_helper::FromV8WithLowerLookup()

* refactor: use constexpr lookup table in gin Converters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/26-x-y PR was merged to the "26-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants