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

storing current depth on cursor #819

Open
OmarTawfik opened this issue Feb 15, 2024 · 0 comments
Open

storing current depth on cursor #819

OmarTawfik opened this issue Feb 15, 2024 · 0 comments
Assignees

Comments

@OmarTawfik
Copy link
Collaborator

Once we have #808, we should measure the impact of storing the current depth on the Cursor, vs calculating it (O(n)) on every Cursor::depth() call. Some user scenarios will involve calling it on every iteration.

@OmarTawfik OmarTawfik self-assigned this Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ⏳ Todo
Development

No branches or pull requests

2 participants