FrontendDeveloper.in

JavaScript question detail

What are the optimization techniques of V8 engine?

V8 engine uses the below optimization techniques.

  1. Inline expansion: It is a compiler optimization by replacing the function calls with the corresponding function blocks.
  2. Copy elision: This is a compiler optimization method to prevent expensive extra objects from being duplicated or copied.
  3. Inline caching: It is a runtime optimization technique where it caches the execution of older tasks those can be lookup while executing the same task in the future.
Back to all JavaScript questions
Get LinkedIn Premium at Rs 399