chakra-core / chakra-core/ChakraCore

Stringify ReadArrayLength and ReadArrayElement can be faster with templatization

Open
#4,231 0 comments 0 reactions 0 assignees View on GitHub
Performance
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

We can specialize GetItem calls depending on type of array to avoid virtual calls and some checks (however we still need to check the type at each element to handle changes).

Follow-up item from https://github.com/Microsoft/ChakraCore/pull/4220#discussion_r150705955.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.