No way to override that? or to add a hook before or after this v8 code?
On Tuesday, March 27, 2012 2:55:24 PM UTC-7, Ben Noordhuis wrote: > > 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. >