Thanks to visit codestin.com
Credit goes to github.com

Skip to content

graph: reduce memory allocations#494

Merged
butonic merged 1 commit into
mainfrom
reduce-mem-allocation-in-graph
Mar 27, 2025
Merged

graph: reduce memory allocations#494
butonic merged 1 commit into
mainfrom
reduce-mem-allocation-in-graph

Conversation

@butonic

@butonic butonic commented Mar 26, 2025

Copy link
Copy Markdown
Member

While investigating #485 I noticed that we are constantly allocating memory to build the list of available roles. This PR changes this to be done once at startup.

This does not fix the PR mentioned above. It is just something I noticed while trying to find out where all the GetUser requests are coming from.

cc @fschade

@butonic butonic requested a review from fschade March 27, 2025 08:50
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic butonic force-pushed the reduce-mem-allocation-in-graph branch from 3885b8c to 8c5af66 Compare March 27, 2025 09:09
@butonic butonic merged commit 9feb51d into main Mar 27, 2025
@butonic butonic deleted the reduce-mem-allocation-in-graph branch March 27, 2025 10:06
@openclouders openclouders mentioned this pull request Mar 27, 2025
1 task
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.

2 participants