Skip to content

Reduce allocations on getpermissions - #214

Merged
majst01 merged 11 commits into
mainfrom
reduce-allocations-on-getpermissions
Nov 25, 2026
Merged

majst01 merged 11 commits into
mainfrom
reduce-allocations-on-getpermissions

Conversation

@majst01

@majst01 majst01 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Description

This was found be inspecting the heap dump of a production deployment. Because ServicePermissions never change during livetime, they can be cached.

Used AI-Tools ✨

  • Deepseek used for generation

@Gerrit91 Gerrit91 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't expected this function to cost anything. Good to know.

@majst01
majst01 merged commit cf0fea3 into main Nov 25, 2026
8 checks passed
@majst01
majst01 deleted the reduce-allocations-on-getpermissions branch November 25, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants