Early reject regex instructions that were already scheduled this step
This commit is contained in:
parent
e0c7a34bc1
commit
4101e18144
|
@ -410,6 +410,9 @@ private:
|
||||||
thread.inst = inst.param.jump_target;
|
thread.inst = inst.param.jump_target;
|
||||||
break;
|
break;
|
||||||
case CompiledRegex::Split:
|
case CompiledRegex::Split:
|
||||||
|
if (instructions[inst.param.split.target].last_step == current_step)
|
||||||
|
break;
|
||||||
|
|
||||||
if (thread.saves >= 0)
|
if (thread.saves >= 0)
|
||||||
++m_saves[thread.saves]->refcount;
|
++m_saves[thread.saves]->refcount;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user