mirror of
https://github.com/mawww/kakoune.git
synced 2024-08-16 16:20:38 +03:00
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;
|
||||
break;
|
||||
case CompiledRegex::Split:
|
||||
if (instructions[inst.param.split.target].last_step == current_step)
|
||||
break;
|
||||
|
||||
if (thread.saves >= 0)
|
||||
++m_saves[thread.saves]->refcount;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user