-
Notifications
You must be signed in to change notification settings - Fork 130
fix[display]: escape strings #5551
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
Conversation
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
robert3005
left a comment
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.
This seems weird. We should be able to escape string but maybe debug is the simplest option?
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
CodSpeed Performance ReportMerging #5551 will improve performances by 17.18%Comparing Summary
Benchmarks breakdown
Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@claude is this the most elegant way to do this? what are alternatives |
|
Claude finished @0ax1's task —— View job Analysis of String Escaping ImplementationI've reviewed the PR changes. Here's my assessment of the current approach and alternatives: Current ImplementationThe PR introduces a Pros:
Cons:
Alternative Approaches1. Direct use of Debug trait (original approach)write!(f, "{:?}", self.0) // Old approachWhy this was problematic:
2. Use
|
0ax1
left a comment
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.
\
No description provided.