feat: optimize atob and btoa performance#1464
feat: optimize atob and btoa performance#1464Chanran wants to merge 3 commits intozloirock:masterfrom
Conversation
I understand. What I meant is that an engine/runtime might not infer how much memory needs to be allocated for the |
f32fc31 to
9be5d63
Compare
|
|
This reverts commit 9be5d63.
|
@zloirock Can the pr be merged? |
|
@Chanran you haven't fixed that was requested. Also, please, create array with |
|
@Chanran ? |
|
FWIW -- I'd be interested in picking this up if the original author is not available. It'd be a good exercise for me to get down to how some JS internals work. |
|
@zloirock |
|
@Chanran just curious as to how you are testing performance. I think I've gotten the patch done, but I'm not sure if it is performant. |
@johnzhou721 There is demo to test. dankogai/js-base64#186 you can try. |







Same to dankogai/js-base64#186, it might have performance issue like js-base64 when use atob or btob polyfill. So I create pr to optimize it.