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

feat: Ensure Format instances get returned to object pool #402

Merged
merged 2 commits into from
May 25, 2024

Conversation

axunonb
Copy link
Member

@axunonb axunonb commented May 25, 2024

  • feat: Ensure, that the Format returned from internal string parsing gets returned to object pool
  • refactor: Add static method to create FormattingInfo using object pool, and remove redundant private SmartFormatter.Format(FormatDetails, Format, object?)
  • docs: Update xmldoc and comments in Parser and SmartFormatter
  • test: Add missing unit tests for SmartFormatter.Format overload

axunonb added 2 commits May 25, 2024 22:02
* feat: Ensure, that the Format returned from internal string parsing gets returned to object pool
* refactor: Add static method to create FormattingInfo using object pool
* docs: Update xmldoc and comments in Parser and SmartFormatter
* test: Add missing unit tests for SmartFormatter.Format overload
Copy link

codecov bot commented May 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96%. Comparing base (63867be) to head (3fedada).

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #402   +/-   ##
===================================
- Coverage    96%    96%   -0%     
===================================
  Files        92     92           
  Lines      3226   3230    +4     
===================================
+ Hits       3108   3111    +3     
- Misses      118    119    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@axunonb axunonb merged commit 9803f09 into axuno:main May 25, 2024
3 of 4 checks passed
@axunonb axunonb deleted the pr/format-obj-pool branch May 25, 2024 20:38
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