8000 In-memory store: Store edge properties only once · Issue #110 · dominikbraun/graph · GitHub
[go: up one dir, main page]

Skip to content

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

Open

Description

@dominikbraun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0