Hello there,

I'm embedding v8 into a binary instrumentation framework and I'm trying
to use an ArrayBuffer/TypedBuffer for fast memory operations (like
Tamarin/ActionScript does for the Memory object operations), but I
couldn't find any fast access defined in the JIT compiler, so I suppose
that a read/write to a TypedBuffer goes all the way of an object and
property resolution. Although, for this case it could just be a range
check and a memory load/store operation.

So, would it be faster to use a regular array of SMIs (SMIs in the
indexes and in the values) without holes faster than an ArrayBuffer? Is
there any plan to provide a fast path for this case?

Thanks,

pablo.

-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users

Reply via email to