Skip to content

Conversation

chqrlie
Copy link
Collaborator

@chqrlie chqrlie commented Apr 20, 2024

  • test for common case: single integer argument and create string directly

This causes a small reduction of the test262 test time. (2%)

- test for common case: single integer argument and create string directly
Copy link
Contributor

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

@chqrlie chqrlie merged commit a77873d into quickjs-ng:master Apr 21, 2024
@chqrlie chqrlie deleted the optimize-string-fromcharcode branch April 21, 2024 06:28
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.

3 participants