-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Revert "util: add fast path for Latin1 decoding" #60889
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
base: main
Are you sure you want to change the base?
Conversation
|
Review requested:
|
f266cc1 to
a76afd8
Compare
mcollina
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
cc @mertcanaltin maybe there is an alternative fix. |
|
@mertcanaltin Is there any encoding in |
Yes, I just checked, and as you said, there is no valid use case for the Latin1 method in the TextDecoder API, so it can be removed. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #60889 +/- ##
=======================================
Coverage 88.55% 88.56%
=======================================
Files 703 703
Lines 208291 208250 -41
Branches 40174 40156 -18
=======================================
- Hits 184454 184429 -25
+ Misses 15829 15826 -3
+ Partials 8008 7995 -13
🚀 New features to boost your workflow:
|
|
I think this should be separate PRs, because:
Also tests from #58890 would be helpful (upd: #60893 covers that now!) No objection for going ahead and landing #60893 though, but then it has to be backported to all branches which regressed |
|
Let's go with #60893, it looks cleaner after an update Not closing this PR until that lands though in case something arises on review |
Okay, thank you very much for your support and details. It was great working with you. 🚀 |
This reverts commit 20bcaa0 (#55275)
Fixes: #60888
Fixes: #59515
Fixes: #56542
Refs: #55275 (comment)
Refs: #55275 (comment)