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

[compiler][ez] Add more Array.prototype methods #30075

Merged
merged 2 commits into from
Jun 25, 2024

Commits on Jun 24, 2024

  1. [compiler][ez] Add more Array.prototype methods

    [ghstack-poisoned]
    mofeiZ committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    f399ed8 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Update on "[compiler][ez] Add more Array.prototype methods"

    Adds Array.prototype methods that return primitives or other arrays -- naive type inference can be really helpful in reducing mutable ranges -> achieving higher quality memoization.
    Also copies Array.prototype methods to our mixed read-only JSON-like object shape.
    
    (Inspired after going through some suboptimal internal compilation outputs.)
    
    [ghstack-poisoned]
    mofeiZ committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    56d29f2 View commit details
    Browse the repository at this point in the history