[Webkit-unassigned] [Bug 152578] RegExp with anchor negation and grouping performance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 12 06:02:05 PST 2020


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

Pierre-Yves Gérardy <org.webkit at py.gy> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |org.webkit at py.gy

--- Comment #3 from Pierre-Yves Gérardy <org.webkit at py.gy> ---
There is still a slowdown when using groups, but it is now by a constant factor of ~4, rather than dependent on the subject length.

Surprisingly, the RegExp with two non-capturing groups is 10-20% faster than the one with only one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200212/07544d23/attachment.htm>


More information about the webkit-unassigned mailing list