Skip to content

add c utf8 encoder / decoder #700

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

lal12
Copy link
Contributor

@lal12 lal12 commented Apr 30, 2025

As discussed in #447
A C implementation for TextEncoder/TextDecoder, due to the limited access to the QuickJS internals it has some unnecessary overhead (basically encoding/decoding is done twice), but it is still much faster than in JS.

@lal12
Copy link
Contributor Author

lal12 commented Apr 30, 2025

Some checks aren't succeeding due to #701

@lal12 lal12 force-pushed the add-utf8-coding branch from 4886da4 to 4dee617 Compare April 30, 2025 14:26
@saghul
Copy link
Owner

saghul commented Apr 30, 2025

Merged the other PR, can you rebase?

@lal12 lal12 force-pushed the add-utf8-coding branch from 4dee617 to 5de366c Compare April 30, 2025 14:58
@lal12
Copy link
Contributor Author

lal12 commented Apr 30, 2025

All other tests are fine now. Not sure what macos is complaining about. Will look into that (maybe next week), though otherwise this is reviewable.

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.

2 participants