[Webkit-unassigned] [Bug 100754] Faster sorting of numeric arrays

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 30 07:03:13 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100754


Cosmin Truta <ctruta at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #171443|                            |review?, commit-queue?
               Flag|                            |




--- Comment #1 from Cosmin Truta <ctruta at gmail.com>  2012-10-30 07:04:30 PST ---
Created an attachment (id=171443)
 --> (https://bugs.webkit.org/attachment.cgi?id=171443&action=review)
Patch

Here is the patch.

I tested the sorting of 1 million elements on x86-64. The performance results are as follows:
- Ascending-numeric sorting is faster by ~170%.
- Descending-numeric sorting is faster by ~6x.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list