mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-2422 Regexp speed optimizations, work in progress
X-SVN-Rev: 11424
This commit is contained in:
parent
45565221f1
commit
e0559f80d3
1 changed files with 5 additions and 0 deletions
|
@ -955,6 +955,11 @@ UBool RegexCompile::doParseActions(EParseAction action)
|
|||
// 1. stuff to be repeated (already built)
|
||||
// 2. jmp-sav 1
|
||||
// 3. ...
|
||||
//
|
||||
// Or, if the item to be repeated is simple
|
||||
// 1. Item to be repeated.
|
||||
// 2. LOOP_SR_I set number (assuming repeated item is a set ref)
|
||||
// 3. LOOP_C stack location
|
||||
{
|
||||
int32_t topLoc = blockTopLoc(FALSE); // location of item #1
|
||||
int32_t jmpOp = URX_BUILD(URX_JMP_SAV, topLoc);
|
||||
|
|
Loading…
Add table
Reference in a new issue