Skip to content

feat: keep a classname mapping instead of always storing the full name for shares - #62904

Open
icewind1991 wants to merge 1 commit into
masterfrom
unified-sharing-classmap
Open

feat: keep a classname mapping instead of always storing the full name for shares#62904
icewind1991 wants to merge 1 commit into
masterfrom
unified-sharing-classmap

Conversation

@icewind1991

@icewind1991 icewind1991 commented Aug 4, 2026

Copy link
Copy Markdown
Member
  • Resolves: #

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

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@icewind1991 icewind1991 added this to the Nextcloud 35 milestone Aug 4, 2026
@icewind1991
icewind1991 requested a review from a team as a code owner August 4, 2026 19:42
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Aug 4, 2026
@icewind1991
icewind1991 requested review from Altahrim, leftybournes, nfebe and salmart-dev and removed request for a team August 4, 2026 19:42
@icewind1991 icewind1991 changed the title feat: keep a classname mapping instead of always storing the full name feat: keep a classname mapping instead of always storing the full name for shares Aug 4, 2026
@icewind1991
icewind1991 force-pushed the unified-sharing-classmap branch from 0a3d8bc to bf1ca51 Compare August 4, 2026 19:55
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991
icewind1991 force-pushed the unified-sharing-classmap branch from bf1ca51 to 3b135cf Compare August 4, 2026 23:58
@icewind1991
icewind1991 requested a review from CarlSchwan August 5, 2026 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant