PJS: Support regular expressions for parallel execution

RESOLVED WONTFIX

Status

()

Core
JavaScript Engine
RESOLVED WONTFIX
5 years ago
3 years ago

People

(Reporter: nmatsakis, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
In principle, regular expressions should be parallelizable. In practice, it is unknown if Yarr produces thread-safe code and what other obstacles we may encounter.

Note that we have to be careful about regular expressions that use the `g` option, as that will cause the regular expression object itself to be mutated, which would not be threadsafe. This might be an area where it is worth approaching TC39 with alternate APIs that are more amenable to thread-safe execution.
(Reporter)

Updated

5 years ago
Blocks: 801869

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.