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

Avoid lookup of node type from Node metadata #1120

Merged
merged 4 commits into from
Feb 13, 2024
Merged

Conversation

SouthEndMusic
Copy link
Collaborator

Fixes #1119.

At first I wanted to completely remove the field NodeMetadata.type::Symbol. After trying this, it turns out, this field is quite useful to obtain a snake case symbol version of the node type, for use in getfield and neighbortypes.

@SouthEndMusic SouthEndMusic requested a review from visr February 13, 2024 14:52
Copy link
Member

@visr visr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 suggestion

core/src/allocation.jl Outdated Show resolved Hide resolved
Co-authored-by: Martijn Visser <[email protected]>
@SouthEndMusic SouthEndMusic merged commit f403e5e into main Feb 13, 2024
15 checks passed
@SouthEndMusic SouthEndMusic deleted the id_followup branch February 13, 2024 15:17
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

Successfully merging this pull request may close these issues.

Stop retrieving node type from node metadata
2 participants