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

perf: improve clear efficiency #42

Merged
merged 2 commits into from
Sep 20, 2024
Merged

perf: improve clear efficiency #42

merged 2 commits into from
Sep 20, 2024

Conversation

wellwelwel
Copy link
Owner

Only loop through the evictions when the onEvict method is used.

Copy link

codecov bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d0b8727) to head (a4b907b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #42   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          189       196    +7     
=========================================
+ Hits           189       196    +7     

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

@wellwelwel wellwelwel merged commit e087a57 into main Sep 20, 2024
13 checks passed
@wellwelwel wellwelwel deleted the clear branch September 20, 2024 01:28
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