joyent/node — pull request #4126 by deanm (2012-10-12 23:08:04+00:00)
Title: Simplify handling of typed arrays get() and set()

I am currently working on cleaning up some of the changes made to v8_typed_arrays since it has diverged from "upstream" (https://github.com/deanm/v8_typed_array).

This changes makes me a little nervous just because test/simple/test-typed-arrays.js is not very good.

Instead of duplicated V8's logic (including clamping), just simply call into
V8's Get() and Set() methods, which handles all conversions and typing.