is there a reason behind choosing 10 for switching the sorting algorithms on Arrays in @v8js ?
@mathias
Would appreciate if anyone answered :)
#V8 #javascript
-
-
Thanks :)
-
This was before my time :). Best guess, it worked best for the benchmarks or other performance metric. Generally speaking, you want to switch to Insertion sort at some point, especially when comparisons are as expensive as they are in JavaScript.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.