Skip to content

Conversation

@twoeths
Copy link
Contributor

@twoeths twoeths commented Oct 7, 2025

Motivation

Description

  • implement leftN and rightN in Path
  • use while loop instead of for loop so that we can skip at any times
  • if a node is left, and next node is its right now, create new parent and skip the next loop

part of #68

@twoeths twoeths marked this pull request as ready for review October 7, 2025 09:04
Copy link
Member

@wemeetagain wemeetagain left a comment

Choose a reason for hiding this comment

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

Can you add a benchmark or run the existing benchmark (zbuild run bench_node) to see the effect that this PR makes?

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.

3 participants