-
Notifications
You must be signed in to change notification settings - Fork 85
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
Feat: erf
operator
#491
Feat: erf
operator
#491
Conversation
add erf testcase
docs: add erf
Modify it from a dictionary to conditional statement
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.
LGTM!
} | ||
} | ||
|
||
fn get_lookup_table_values(key: felt252) -> u32{ |
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.
Instead of using dictionary here, that has a worse-case O(n) complexity for writing and reading. I would prefer implementing a Conditional Statements function, like here. Wdyt?
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.
Pull Request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: #349
What is the new behavior?
Does this introduce a breaking change?
Other information