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

refactor: remove addToFrontier #530

Merged
merged 1 commit into from
Mar 5, 2025
Merged

Conversation

trungnotchung
Copy link
Member

@trungnotchung trungnotchung commented Mar 5, 2025

What type of PR is this?

  • Refactor

Description

Currently, the functions addToFrontier and addVertex are the same. Remove function addToFrontier and use addVertex when a new operation is applied locally to make it easier to maintain the codebase.

Related Issues and PRs

Added/updated tests?

  • No, because why: it's just a refactor. current tests covered it already.

Additional Info

add instructions or screenshots on what you might think is relevant or instructions on how to manually test it

[optional] Do we need to perform any post-deployment tasks?

Copy link

github-actions bot commented Mar 5, 2025

Flamegraph.com report

flamegraph.pprof
See in flamegraph.com

Created by Flamegraph.com Github Action

@trungnotchung trungnotchung marked this pull request as ready for review March 5, 2025 07:30
@sfroment sfroment merged commit e7ef601 into main Mar 5, 2025
14 checks passed
sfroment added a commit that referenced this pull request Mar 5, 2025
* origin:
  feat: add interval-runner (#524)
  refactor: remove addToFrontier (#530)
  Feat: enhance coverage (#493)
  feat: replace eddsa with ecdsa (#492)
@trungnotchung trungnotchung deleted the refactor/remove-add-to-frontier branch March 5, 2025 11:39
sfroment added a commit that referenced this pull request Mar 5, 2025
* origin:
  refactor: remove unused args (#534)
  refactor: 🎨 import type when it's only used as type (#532)
  fix(coverage): 🐛 remove version.ts from coverage (#531)
  feat: add interval-runner (#524)
  refactor: remove addToFrontier (#530)
  Feat: enhance coverage (#493)
sfroment added a commit that referenced this pull request Mar 5, 2025
* origin:
  refactor: remove unused args (#534)
  refactor: 🎨 import type when it's only used as type (#532)
  fix(coverage): 🐛 remove version.ts from coverage (#531)
  feat: add interval-runner (#524)
  refactor: remove addToFrontier (#530)
  Feat: enhance coverage (#493)

Signed-off-by: Sacha Froment <[email protected]>
sfroment added a commit that referenced this pull request Mar 6, 2025
* origin:
  refactor: 🚨 better promise usage and type on function (#535)
  refactor: remove unused args (#534)
  refactor: 🎨 import type when it's only used as type (#532)
  fix(coverage): 🐛 remove version.ts from coverage (#531)
  feat: add interval-runner (#524)
  refactor: remove addToFrontier (#530)
  Feat: enhance coverage (#493)
  feat: replace eddsa with ecdsa (#492)
  fix: import plugin wasn't activated for typescript (#523)
  fix: readme link (#526)
  fix: version (#525)
  fix: linting deps not at the correct place (#519)
  feat: add readme.md for package keychain (#521)
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.

Remove unused function addToFrontier from codebase
4 participants