Skip to content

refactor: Internal SmartFormat.Pooling classes#401

Merged
axunonb merged 2 commits intoaxuno:mainfrom
axunonb:pr/global-poolsetting
May 25, 2024
Merged

refactor: Internal SmartFormat.Pooling classes#401
axunonb merged 2 commits intoaxuno:mainfrom
axunonb:pr/global-poolsetting

Conversation

@axunonb
Copy link
Member

@axunonb axunonb commented May 25, 2024

  • Mark instance property ObjectPool.IsPoolingEnabled as obsolete in favor of SmartSettings.IsPoolingEnabled
  • Simplify pooling classes, especially when creating new pools
  • Make methods and their names more consistent

…sses

Mark instance property ObjectPool.IsPoolingEnabled as obsolete
@codecov
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 (050fe28) to head (0b47a63).

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #401   +/-   ##
===================================
- Coverage    96%    96%   -0%     
===================================
  Files        92     92           
  Lines      3227   3226    -1     
===================================
- Hits       3111   3108    -3     
- Misses      116    118    +2     

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

* Simplify pooling classes, especially when creating new pooks
* Make methods ond names more consistent
@axunonb axunonb changed the title Use global PoolSettings.IsPoolingEnabled for all ObjectPool based classes refactor: Internal SmartFormat.Pooling classes May 25, 2024
@axunonb axunonb merged commit 63867be into axuno:main May 25, 2024
@axunonb axunonb deleted the pr/global-poolsetting branch May 25, 2024 14:35
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