feat: keep a classname mapping instead of always storing the full name for shares - #62904
Open
icewind1991 wants to merge 1 commit into
Open
feat: keep a classname mapping instead of always storing the full name for shares#62904icewind1991 wants to merge 1 commit into
icewind1991 wants to merge 1 commit into
Conversation
icewind1991
requested review from
Altahrim,
leftybournes,
nfebe and
salmart-dev
and removed request for
a team
August 4, 2026 19:42
icewind1991
force-pushed
the
unified-sharing-classmap
branch
from
August 4, 2026 19:55
0a3d8bc to
bf1ca51
Compare
Signed-off-by: Robin Appelman <robin@icewind.nl>
icewind1991
force-pushed
the
unified-sharing-classmap
branch
from
August 4, 2026 23:58
bf1ca51 to
3b135cf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Instead of storing the full class name every time, keep a table that maps them to integers, so we only need to store an int.
Saves 60 bytes for each sharing source, recipient, property and permission
Extracted from #62708
Checklist
3. to review, feature component)stable32)AI (if applicable)