Skip to content

Conversation

@radik878
Copy link

The get_path() error path cloned NodeRef solely to call compute_hash()

NodeRef::compute_hash(&self) does not require ownership; cloning creates a new Arcand OnceLock without any benefit. This change calls compute_hash() directly on &self.child

@radik878 radik878 requested a review from a team as a code owner November 14, 2025 15:08
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.

1 participant