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

Use lazy_format! to repleace format! in constructing error messages #57

Open
J-F-Liu opened this issue Dec 23, 2022 · 0 comments
Open

Comments

@J-F-Liu
Copy link
Owner

J-F-Liu commented Dec 23, 2022

lazy_format! captures its arguments and returns an opaque struct with a Display implementation, rather than immediatly formatting them into a String. I think this can improve the parser performance.

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

No branches or pull requests

1 participant