Skip to content

feat(perf): speed up some functions with linear complexity O=n2 -> O=2n#726

Merged
samber merged 1 commit intomasterfrom
feat/performance-no-contains
Nov 5, 2025
Merged

feat(perf): speed up some functions with linear complexity O=n2 -> O=2n#726
samber merged 1 commit intomasterfrom
feat/performance-no-contains

Conversation

@samber
Copy link
Owner

@samber samber commented Nov 5, 2025

wow 🤯

How could I have allowed such a bad implementation!

@samber samber merged commit 9cdabc1 into master Nov 5, 2025
20 checks passed
@samber samber deleted the feat/performance-no-contains branch November 5, 2025 18:07
@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.24%. Comparing base (a7b807a) to head (bc0d270).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #726      +/-   ##
==========================================
+ Coverage   94.21%   94.24%   +0.02%     
==========================================
  Files          18       18              
  Lines        2768     2779      +11     
==========================================
+ Hits         2608     2619      +11     
  Misses        146      146              
  Partials       14       14              
Flag Coverage Δ
unittests 94.24% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

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