Skip to content

Slow call get_hash in NodeEncoder #134

@Onandon11

Description

@Onandon11

Is your feature request related to a problem? Please describe.
In our project some graphs are time critical, when profiling the code the NodeEncoder arose as a bottleneck.

Describe the solution you'd like
Can we think of something else to serialize nodes without using the sha256 of the hashlib?

Describe alternatives you've considered
Maybe we can use the __repr__, this method describe the object in a single line.

Do you guys have alternatives?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions