quickjs
quickjs copied to clipboard
Small fixes and additional functions
Hi, I have been using QuickJS as a wrapper for a long time. these are the fixed I have made.
- I used raw string access to avoid additional memory allocation
- also new string allocate function for acts like JS_NewArrayBuffer
Hello @zwarrior1,
Thank you for contributing. I cannot merge your patch as posted but will apply your patches with attribution after some adjustments. See my comments inline.
Chqrlie.
I'd love to see this broken down into smaller, focused PRs since the changes don't depend on each other.
I'd love to see this broken down into smaller, focused PRs since the changes don't depend on each other.
Of course. But given the change requests, I am going to do this myself.