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

Implement DICT_SQUASH_COPY_DICT, DICT_SQUASH_UPDATE_PTR & DICT_NEW #231

Merged
merged 10 commits into from
Sep 18, 2023

Conversation

fmoletta
Copy link
Contributor

@fmoletta fmoletta commented Sep 18, 2023

Closes #188
Depends on #218

@fmoletta fmoletta changed the base branch from main to dict-hint-3 September 18, 2023 14:57
@fmoletta fmoletta changed the title Implement DICT_SQUASH_COPY_DICT, DICT_SQUASH_UPDATE_PTR & DICT_NEW Implement DICT_SQUASH_COPY_DICT, DICT_SQUASH_UPDATE_PTR & DICT_NEW Sep 18, 2023
@fmoletta fmoletta marked this pull request as ready for review September 18, 2023 15:52
@jrchatruc jrchatruc merged commit 5e3ecb2 into dict-hint-3 Sep 18, 2023
@jrchatruc jrchatruc deleted the dict-hint-4 branch September 18, 2023 21:39
github-merge-queue bot pushed a commit that referenced this pull request Sep 19, 2023
* First commit

* Add testing

* Add test

* Add tests

* Implement `ASSERT_NOT_EQUAL` hint

* Add unit tests

* Add integration test

* Add tests

* Add tests

* Add test

* Add minor changes

* Implement vm_enter_scope hint and test

* Changes attributes visibility and removes unused methods.

* Fix string

* Add newline at eof

* Remove extra line

* deletes duplicate code

* Remove initial_dict from default-dict_new

* fix test

* Implement defaultDictNew

* merge files

* Integrate ExecutionScopes into hintProcessor logic

* add test

* Fixes + add test

* Add test

* Remove commented fn

* Implement dictRead

* Add tests

* Add test

* Store DictTrackers by reference to allow modifications

* Add test file

* Revert "Implement `ASSERT_NOT_EQUAL` hint"

This reverts commit 2cfe447.

* Revert "Add unit tests"

This reverts commit 8a25e3d.

* Remove leftovers from base branch

* Remove leftovers from base branch

* Fix eof

* Implement DictUpdate

* Add unit tests

* Add integration test

* Dont ignore errors

* Fix DictWrite hint

* Add hint codes

* Implement DivRem, ModFloor, DivFloor

* solve conflicts

* Add Felt.Cmp

* Implmenet squash_dict hint

* add test

* Start test

* Complete test

* Add fix + test

* Add Fix + Test

* Add tests

* Implement SQUASH_DICT_INNER_FIRST_ITERATION

* Add test

* Add test

* Implement hint

* Add test

* Test

* Add Hint + tests

* Add tests

* Add hint + test

* remove ExecutionScopes.Data() method

* Add hint + test

* More tests

* Add integration test

* Fix test

* Fix hint code

* Fix string

* Check map is empty instead of map exists

* Fix tests

* Fix fmt

* Fix comments

* Move up check

* Implement `DICT_SQUASH_COPY_DICT`,  `DICT_SQUASH_UPDATE_PTR` & `DICT_NEW` (#231)

* Implement dict squash copy dict hint

* Add test

* Add test

* Add hint

* Add test

* Add hint

* Add test

* Add test, fix string

* Add test file

* Add newline at eof

---------

Co-authored-by: toni-calvin <[email protected]>
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.

Add dict module hints
2 participants