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

Add a caching mapping for computed mappings #665

Open
bernhardmgruber opened this issue Dec 21, 2022 · 0 comments
Open

Add a caching mapping for computed mappings #665

bernhardmgruber opened this issue Dec 21, 2022 · 0 comments

Comments

@bernhardmgruber
Copy link
Member

Computed mappings have several draw backs, including mainly the use of proxy references. We could introduce a mapping that provides storage again for computed values and acts a cache to the computed values, storing them on construction/first retrieval etc. Such a caching mapping could return l-value references again.

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

No branches or pull requests

1 participant