Inline caching is an optimization often used in both statically typed and dynamically typed languages. An inline cache, or IC, is a set of instructions whose goal is to speed up operations like method calls and property lookups. It does this by taking a slow operation, like walking an object’s prototype chain and scanning through its named properties.
Table of contents
Introducing Deopt ExplorerA Brief Primer on Inline CachingThe Slow Creep of MegamorphismRecognizing MegamorphismIntroducing Deopt ExplorerGetting Deopt Explorer2 Comments
Sort: