txiki.js icon indicating copy to clipboard operation
txiki.js copied to clipboard

add c utf8 encoder / decoder

Open lal12 opened this issue 8 months ago • 5 comments

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 avatar Apr 30 '25 14:04 lal12

Some checks aren't succeeding due to #701

lal12 avatar Apr 30 '25 14:04 lal12

Merged the other PR, can you rebase?

saghul avatar Apr 30 '25 14:04 saghul

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.

lal12 avatar Apr 30 '25 15:04 lal12

@saghul any updates here?

lal12 avatar Aug 27 '25 14:08 lal12

Sorry, I haven't had much time lately, I'll review this ASAP!

saghul avatar Sep 01 '25 09:09 saghul