News for hackers. Stuff that matters.
Re:How JavaScript works: inside the V8 engine by zbjornson on Tuesday August 22, 2017 @12:31AM (#15069720)
Good question. I haven't looked at that case. V8 can detect and optimize small ints (smi, fit in uint32, i.e. all types of typedarrays), but it might still take the easy/slow path and convert to doubles. Relatively easy to look at with node.js and irhydra.

There are no comments on this comment yet.