Skip to content

Jacob-Christian-Munch-Andersen/Typed-arrays-light-shim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Typed-arrays-light-shim

Some of the functionality of typed arrays implemented as an overlay on arrays.

The intention of this project is to provide an approximate subset of JavaScript typed arrays that let developers gain some of the advantages of typed arrays, while maintaining support for browsers that do not support typed arrays, and also maintaining reasonable performance in these browsers.

It is released under a BSD licence.

Notable features not present:

No datatype conversion, all array types implement 64 bit floats.
subarray does not provide a view for an arraybuffer, rather it makes a new array.
No checks for illegal operations, where the specification would throw an error this code will most likely continue.
No ArrayBuffer objects, typed arrays are implemented as independent objects.
Lots of little things like toString that shouldn't matter for normal use.

Notable features:

Works in IE 7, 8 and 9.
Good performance.

About

Some of the functionality of typed arrays implemented as an overlay on arrays.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published