By mswatcher
via badassjs.com
Submitted: Jan 07 2013 / 12:53
A few months ago, Opera drafted a spec for a new DSP (Digital Signal Processing) API for JavaScript. This API would enable access to special vector instructions available to modern processors from JavaScript, and could possibly enable speedups of vectorizable JavaScript code. Instead of writing a for-loop to do the same computation to every element in an array in serial, you could call a method from the DSP API to perform some common mathematical operations to an entire array in parallel.
Add your comment