Benedikt Meurer 9/18/2018

Improving DataView performance in V8

Read Original

This technical article details the V8 JavaScript engine's optimization of DataView performance, which historically lagged behind TypedArrays. It explains the background of ArrayBuffer access methods, the performance penalty that led developers to avoid DataViews, and how the V8 team's work in version 6.9 brought DataView speed to parity with or even exceeded equivalent TypedArray code, making it viable for graphics, binary data processing, and other performance-sensitive tasks.

Improving DataView performance in V8

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week