Javascript performance
This section contains some easy performance optimization for Javascript using the V8 Javascript engine, which powers NodeJS and all Chromium based browsers like Edge and Chrome.
This section contains some easy performance optimization for Javascript using the V8 Javascript engine, which powers NodeJS and all Chromium based browsers like Edge and Chrome.
Consider you want to model a 3D-vector in Javascript with an object having a x, y and z property. When creating a new vector you have 6 possible orders for the properties: