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: merge ada_parse and ada_is_valid #492

Closed
wants to merge 1 commit into from

Conversation

anonrig
Copy link
Member

@anonrig anonrig commented Aug 29, 2023

For environments where ffi has a cost, calling twice for every parsing operation reduces the performance by 15%. The following should in theory improve the performance.

PS: This is a breaking change. We didn't follow semver in C API until now, but should we?

@anonrig anonrig requested a review from lemire August 29, 2023 20:11
@anonrig
Copy link
Member Author

anonrig commented Aug 30, 2023

cc @lemire

@anonrig
Copy link
Member Author

anonrig commented Aug 30, 2023

Actually this resulted in worse performance for Rust. Closing.

@anonrig anonrig closed this Aug 30, 2023
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.

1 participant