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

update: comparison before updating #322

Open
0xDatapunk opened this issue Sep 11, 2024 · 0 comments
Open

update: comparison before updating #322

0xDatapunk opened this issue Sep 11, 2024 · 0 comments
Labels
audit 🔍 This issue is related to an audit. question ❔ Further information is requested refactoring ♻️ A code change that neither fixes a bug nor adds a feature

Comments

@0xDatapunk
Copy link
Collaborator

0xDatapunk commented Sep 11, 2024

let node = newLeaf

does it make sense to check if newLeaf != this._nodes[0][index] first?

@cedoor cedoor added audit 🔍 This issue is related to an audit. refactoring ♻️ A code change that neither fixes a bug nor adds a feature labels Sep 12, 2024
@cedoor cedoor added the question ❔ Further information is requested label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit 🔍 This issue is related to an audit. question ❔ Further information is requested refactoring ♻️ A code change that neither fixes a bug nor adds a feature
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants