On Tue, Mar 27, 2012 at 23:41, m1k3l <mikese...@gmail.com> wrote: > I'm adding a missing typed array, the Uint8ClampedArray. You can see the > changes > at https://github.com/mikeseven/node/commit/27ad75f882a6c7ad06a878f3eaab292a045ffc4c > I didn't put this in the pull requests yet because I have an issue with the > syntax: buf[idx]=value, which should do the same thing as buf.set(idx, > value) that works correctly in this commit. > > Does anyone know where buf[idx] is handled?
In the V8 VM. Don't ask, it's complicated. Essentially, V8 generates machine code that directly accesses the memory.