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

Consider caching the schema #2194

Closed
nirinchev opened this issue Jan 20, 2021 · 0 comments · Fixed by #2577
Closed

Consider caching the schema #2194

nirinchev opened this issue Jan 20, 2021 · 0 comments · Fixed by #2577
Assignees

Comments

@nirinchev
Copy link
Member

We're using reflection to build the schema every time a Realm is opened. We should consider keeping a <Type, Schema> dictionary to avoid paying the reflection penalty. We should add a benchmark test and see if caching the schema has a "significant enough" effect to warrant doing it.

@nirinchev nirinchev mentioned this issue Aug 23, 2021
2 tasks
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant