Post

TIL: Prefer `Float64Array` over `Array<number>` when you care about sorting. Sorting the former is a lot faster.

Also, unfortunately `TypeArray.prototype.sort` does not use TimSort... Not sure why???

0 reposts1 like

No replies yet.