-
Notifications
You must be signed in to change notification settings - Fork 0
Reduce number of String
allocations
#6
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 132 207 +75
=========================================
+ Hits 132 207 +75 ☔ View full report in Codecov by Sentry. |
After adding indirection via
|
String
allocations
Implements a possible solution for #5. Builds upon #3 for the
ToString
support. The lazy evaluation allows to defer theto_string()
call until the rendering actually takes place.