-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add from_bytes_(l|n)e methods (#1326)
* Add from_bytes_(l|n)e methods * Add TODOs * Move the new methods to `FeltOps` * Add comment and clean up some code * Add tests --------- Co-authored-by: Pedro Fontana <[email protected]>
- Loading branch information
1 parent
2d5b2cc
commit 013c8ba
Showing
5 changed files
with
112 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
013c8ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.30
.add_u64_with_felt/1
3
ns/iter (± 0
)2
ns/iter (± 0
)1.50
add_u64_with_felt/2
3
ns/iter (± 0
)2
ns/iter (± 0
)1.50
add_u64_with_felt/3
2
ns/iter (± 0
)1
ns/iter (± 0
)2
add_u64_with_felt/4
2
ns/iter (± 0
)1
ns/iter (± 0
)2
add_u64_with_felt/5
2
ns/iter (± 0
)1
ns/iter (± 0
)2
add_u64_with_felt/6
3
ns/iter (± 0
)2
ns/iter (± 0
)1.50
add_u64_with_felt/7
3
ns/iter (± 0
)2
ns/iter (± 0
)1.50
add_u64_with_felt/8
3
ns/iter (± 0
)2
ns/iter (± 0
)1.50
This comment was automatically generated by workflow using github-action-benchmark.
CC: @unbalancedparentheses