[Webkit-unassigned] [Bug 38988] Avoid to store the beginning of the match on the stack in Yarr JIT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 15 09:31:16 PDT 2010


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


Peter Varga <pvarga at inf.u-szeged.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #55838|review-                     |review?
               Flag|                            |




--- Comment #5 from Peter Varga <pvarga at inf.u-szeged.hu>  2010-06-15 09:31:15 PST ---
(From update of attachment 55838)
We don't need to do this allocation on stack, so this patch solves the removed TODO. It saves sizeof(int) bytes from stack per matching.
In fact, this patch doesn't even have effect on performance, it improves the memory usage. 
Btw, the performance results are:

               ref                mod
regexp-dna: 22.4ms +/- 1.6%    22.4ms +/- 1.6%
v8-regexp:  445.9ms +/- 2.6%   444.5ms +/- 2.6%

I set to r? again.

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