quickjs-ng / quickjs

QuickJS, the Next Generation: a mighty JavaScript engine
MIT License
687 stars 66 forks source link

Improve internal string allocation methods #398

Closed chqrlie closed 1 month ago

chqrlie commented 1 month ago

String values are allocated as temporary or final results. This commit attempts to improve the consistency and performance of this step.