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

remove from_dec_str and use const instead for tick_math #31

Merged

Conversation

lakshya-sky
Copy link
Contributor

@lakshya-sky lakshya-sky commented Sep 18, 2023

Partial change for #14 and only for tick_math:
use constants instead of from_dec_str which requires more cpu cycles than constants.

src/tick_math.rs Outdated Show resolved Hide resolved
@0xOsiris
Copy link
Collaborator

LGTM

@0xKitsune 0xKitsune merged commit 0d4de89 into 0xKitsune:main Sep 19, 2023
4 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.

3 participants