2 ms·
I'm not sure how it would terminate sort early, my initial assumption was that for small arrays there might be special-casing? this seems to be a related threa
by tosh 6y ago
I'm not sure how it would terminate sort early, my initial assumption was that for small arrays there might be special-casing?
this seems to be a related thread on twitter:
https://twitter.com/ChrisGSeaton/status/1001582169578524672 https://twitter.com/ChrisGSeaton/status/1001582169578524672
- monadic2 6y agoAre you unsure about the runtime considerations or how the compiler would infer the necessary optimizations?