Bug 288102
Summary: | [Yarr] Improve processing of an alternation of strings | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Saboff <msaboff> |
Component: | New Bugs | Assignee: | Michael Saboff <msaboff> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | commit-queue, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=289028 | ||
Bug Depends on: | 288227, 288226 | ||
Bug Blocks: |
Michael Saboff
Several web applications use RegExp's to parse tokens. For example /^(?:if|then|else|switch|break|case|which|do|for)/. Since an anchor regular expression like this is only evaluated once, we can simplify the processing of a string list like this.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/145222010>
Michael Saboff
Pull request: https://github.com/WebKit/WebKit/pull/40985
EWS
Committed 290791@main (12c34ef5e305): <https://commits.webkit.org/290791@main>
Reviewed commits have been landed. Closing PR #40985 and removing active labels.
WebKit Commit Bot
Re-opened since this is blocked by bug 288226
Michael Saboff
Pull request: https://github.com/WebKit/WebKit/pull/41227
EWS
Committed 290982@main (5d4feeaef67a): <https://commits.webkit.org/290982@main>
Reviewed commits have been landed. Closing PR #41227 and removing active labels.
EWS
Committed 289651.322@safari-7621-branch (0cdbef833e37): <https://commits.webkit.org/289651.322@safari-7621-branch>
Reviewed commits have been landed. Closing PR #2870 and removing active labels.