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: replace while loops with for #987

Merged
merged 5 commits into from
Sep 30, 2024

Conversation

fabrobles92
Copy link
Contributor

@fabrobles92 fabrobles92 commented Sep 28, 2024

Replace while loops to use the new for loops

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

Resolves: #978

What is the new behavior?

  • Replacement of while loops with for loops

Does this introduce a breaking change?

  • Yes
  • No

This change is Reviewable

Copy link
Contributor

@enitrat enitrat left a comment

Choose a reason for hiding this comment

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

great work! thank you so much!

crates/evm/src/instructions/duplication_operations.cairo Outdated Show resolved Hide resolved
crates/utils/src/helpers.cairo Outdated Show resolved Hide resolved
crates/utils/src/serialization.cairo Outdated Show resolved Hide resolved
crates/utils/src/traits/bytes.cairo Outdated Show resolved Hide resolved
crates/utils/src/traits/bytes.cairo Outdated Show resolved Hide resolved
@enitrat enitrat changed the title Feat/replace while loops refactor: replace while loops with for Sep 28, 2024
@enitrat enitrat added this pull request to the merge queue Sep 30, 2024
Merged via the queue into kkrt-labs:main with commit c645fee Sep 30, 2024
3 checks passed
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.

dev: replace iterations on collections with while to for loops
2 participants