[Webkit-unassigned] [Bug 117554] Massive performance problem with typed array constructors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 23 16:22:30 PST 2014


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





--- Comment #3 from Filip Pizlo <fpizlo at apple.com>  2014-01-23 16:19:58 PST ---
I think that the title is a bit dramatic.  I suspect that all that we're missing is the compiler smarts to eliminate the allocation of the typed array entirely.  In this program, the statement:

    new Uint8Array(mid);

is trivially dead code.  Our optimizing compiler currently refuses to DCE typed array allocations because of (likely unfounded) paranoia about the typed array allocation having observable error checking.  It probably has no observable error checking if the constructor is known to be passed an integer and that integer is non-negative.

-- 
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