I’m getting odd sorting behavior in V8 7.5. Are there any known bugs?
-
-
Inverting the operands is what I got right AFAICT. My case is even trickier: cmp(a, b) → -1 cmp(b, c) → -1 cmp(a, c) → +1
-
Fixed it – transitivity FTW!
Thanks for your help! - 1 more reply
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.