Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix array performance regression #1148

Merged
merged 1 commit into from Apr 24, 2022

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Apr 24, 2022

This was introduced by #1053 where ArrayOperations started to call slower Set which was not directly accessing indexes. Returned old behavior and tweaked two call sites where it's not safe to do fast access. Added TODO comment for future for trying to improve things by tracking whether given array instance is truly simple (only data descriptors and array prototype chain unmodified).

@lahma lahma enabled auto-merge (squash) April 24, 2022 06:54
@lahma lahma merged commit a0cfd78 into sebastienros:main Apr 24, 2022
@lahma lahma deleted the array-perf-regression branch April 24, 2022 07:01
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.

None yet

1 participant