Skip to content
Snippets Groups Projects
Commit 56d29f20 authored by Mofei Zhang's avatar Mofei Zhang
Browse files

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]
parents f399ed89 64f7c51e
No related merge requests found
Showing
with 396 additions and 162 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment