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

Adding a fast path for TextDecoder latin1 #178

Open
anonrig opened this issue Sep 17, 2024 · 2 comments
Open

Adding a fast path for TextDecoder latin1 #178

anonrig opened this issue Sep 17, 2024 · 2 comments

Comments

@anonrig
Copy link
Member

anonrig commented Sep 17, 2024

Latin1 still uses ICU, which is extremely slow. We can add a fast path, just like utf8 and make it extremely fast.

Ref: https://github.com/nodejs/node/blob/main/lib/internal/encoding.js#L424

cc @RafaelGSS

@CarlosEduR
Copy link

Nice

@CarlosEduR
Copy link

@anonrig could you guide me a little bit on this and/or list me some PRs as reference? Just cloned the repo and taking a look...

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

No branches or pull requests

2 participants