-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=83312 Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-04-05 Reviewed by Gavin Barraclough. When the value we are sorting are all primitive values, we do not need to ensure a stable sort as two values with equal string representation are indistinguishable from JavaScript. This gives about 16% performance increase when sorting primitive values. * runtime/JSArray.cpp: (JSC::JSArray::sort): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
82dfe3e0