4 ms·
This isn't a special cased array specialization for 16-bit integers (16-bit integers are so rare that special casing those is not worth it). Note that a standar
by GlitchMr 9y ago
This isn't a special cased array specialization for 16-bit integers (16-bit integers are so rare that special casing those is not worth it). Note that a standard array is not used in [9], rather an `Int16Array` is being used. Due to JavaScript specification requirements (arrays of different integer sizes can share storage), the ONLY sane implementation of Int16Array is well... an array of 16-bit integers.