-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add HasTag method to OopsError #52
Conversation
Hey @zzzLobster Thanks for this first contrib. Can you add it to the readme please? Did you evaluate to change |
Hey @samber
Sure, I'll do that.
I did not, to avoid unnecessary changes. However, I think that's a good idea, so I'll check this option. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #52 +/- ##
==========================================
+ Coverage 76.17% 76.71% +0.54%
==========================================
Files 13 13
Lines 1024 1035 +11
==========================================
+ Hits 780 794 +14
+ Misses 212 210 -2
+ Partials 32 31 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
TLDR: it does not worth to replace slice with map in this case. Implementation with map: And run 2 variants:
|
@samber |
thanks @zzzLobster for your benchmarks ! ✌️ let's merge ;) |
This is to implement proposal #51