v8.md

July 15, 2021 · View on GitHub

Bookmarks tagged [v8]

www.codever.land/bookmarks/t/v8

V8 JavaScript engine

https://v8.dev/

V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.


Javascript Hidden Classes and Inline Caching in V8

https://richardartoul.github.io/jekyll/update/2015/04/26/hidden-classes.html

Optimization takeaways

  1. Always instantiate your object properties in the same order so that hidden classes, and subsequently optimized code, can be shared.
  2. Adding properties to an object after i...