Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save memory during config sync via SyncSubject#FactoryForDelta() #525

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

Al2Klimov
Copy link
Member

Code comment TL;DR: Allocate the same amount of smaller data structures

Peek of reserved memory

  • Before: 3.5G
  • After: 2.8G

Code comment TL;DR: Allocate the same amount of smaller data structures
@cla-bot cla-bot bot added the cla/signed label Sep 13, 2022
@Al2Klimov Al2Klimov mentioned this pull request Sep 15, 2022
@julianbrost
Copy link
Contributor

@Al2Klimov IIRC, at some point you said you were looking into making this a plain map from ID to checksum (i.e. no Entity, just the sole checksum value). What happened to that plan?

@Al2Klimov
Copy link
Member Author

IDK

@julianbrost julianbrost merged commit a327ef0 into master Nov 2, 2022
@julianbrost julianbrost deleted the save-memory branch November 2, 2022 11:27
@julianbrost julianbrost added this to the 1.1.0 milestone Nov 2, 2022
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