Skip to content

Optimization: avoid 2-level cache in AttributeHelper#298

Merged
alex-kulakov merged 2 commits intoDataObjects-NET:masterfrom
servicetitan:upstream/AttributeHelper
Aug 24, 2023
Merged

Optimization: avoid 2-level cache in AttributeHelper#298
alex-kulakov merged 2 commits intoDataObjects-NET:masterfrom
servicetitan:upstream/AttributeHelper

Conversation

@SergeiPavlov
Copy link
Copy Markdown
Contributor

@SergeiPavlov SergeiPavlov commented Jan 4, 2023

1-level caching would be faster and have lesser memory footprint
Also store Arrays in the cache instead of List<> to save memory
These caches are very sparsed:
image

Comment thread Orm/Xtensive.Orm/Reflection/AttributeHelper.cs Outdated
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
@alex-kulakov alex-kulakov merged commit d93a868 into DataObjects-NET:master Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants