Skip to content

Instruction::GetBlock has quadradic time complexity #21708

@DartBot

Description

@DartBot

This issue was originally filed by zerny...@google.com


The VMs Instruction::GetBlock has quadradic time complexity which can cause excessive slowdown in large blocks with repeated variable uses. See for example tests/corelib/regexp/global_test.dart

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions