Skip to content

Conversation

andrew-demb
Copy link
Contributor

https://www.php.net/manual/en/class.weakmap.php

There are no use-cases in the library to iterate over all existing references - using WeakMap in this context will improve some work for the garbage collection mechanism and would avoid possible memory leaks for long-running applications

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.87%. Comparing base (53f9d49) to head (34280af).
Report is 115 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #745      +/-   ##
============================================
- Coverage     95.72%   94.87%   -0.86%     
- Complexity     1773     1824      +51     
============================================
  Files           154      174      +20     
  Lines          4586     4971     +385     
============================================
+ Hits           4390     4716     +326     
- Misses          196      255      +59     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@oojacoboo
Copy link
Collaborator

Thanks @andrew-demb

@oojacoboo oojacoboo merged commit 5403473 into thecodingmachine:master Jun 6, 2025
11 checks passed
@andrew-demb andrew-demb deleted the weakmap-insteadof-object-storage branch June 6, 2025 15:44
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.

3 participants