Skip to content

perf(share): Collapse filtering and formatting into a single loop in getSharedWithMe() - #61755

Draft
joshtrichards wants to merge 1 commit into
masterfrom
jtr/perf-getSharedWithMe-small-optimization
Draft

perf(share): Collapse filtering and formatting into a single loop in getSharedWithMe()#61755
joshtrichards wants to merge 1 commit into
masterfrom
jtr/perf-getSharedWithMe-small-optimization

Conversation

@joshtrichards

@joshtrichards joshtrichards commented Jul 3, 2026

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

Fuse merge/filter/format into one pass.

Instead of:

  • merge all arrays
  • filter to $filteredShares
  • loop again

do one pass over all shares.

Cheap win in terms of CPU/memory usage.

TODO

  • ...

Checklist

AI (if applicable)

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

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards

Copy link
Copy Markdown
Member Author

@copilot fix the unconventional commit message; edit the commit message... using PR title as the basis

Copilot AI commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

@copilot fix the unconventional commit message; edit the commit message... using PR title as the basis

Done — amended the commit message to perf(share): Collapse filtering and formatting into a single loop in getSharedWithMe() (ca720bb).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants