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

perf: implement ASCII escape using macros #35

Merged
merged 2 commits into from
Feb 5, 2023
Merged

perf: implement ASCII escape using macros #35

merged 2 commits into from
Feb 5, 2023

Conversation

jrandolf
Copy link
Contributor

@jrandolf jrandolf commented Feb 5, 2023

This PR implements escapes using macros. More precisely, we are choosing to have the compiler optimize out the escape procedure rather than manually embedding the optimizations. This also has the advantage of removing a dependency.

@jrandolf jrandolf changed the title perf: remove memchr in favor of macros perf: implement ASCII escape using macros Feb 5, 2023
@jrandolf jrandolf merged commit 914c23b into main Feb 5, 2023
@jrandolf jrandolf deleted the memchr branch February 5, 2023 05:32
@jrandolf jrandolf mentioned this pull request Feb 5, 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