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

In-memory store: Store edge properties only once #110

Open
dominikbraun opened this issue Apr 25, 2023 · 0 comments
Open

In-memory store: Store edge properties only once #110

dominikbraun opened this issue Apr 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@dominikbraun
Copy link
Owner

At the moment, the built-in in-memory store implementation that satisfies the Store interface stores the edge properties multiple times: In outEdges and in inEdges, because both store full Edge[K] instances.

This isn't memory-efficient for edges that store a lot of data. Therefore, it might make sense to only store the actual Edge instances or at least their properties once, maybe in a separate map, and retrieve this data when returning an edge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant