Skip to content

Improve performance after optimization was interrupted #3

@dwierichs

Description

@dwierichs

Once an optimization attempt is "interrupted", it enters a dummy data-copying phase, in order to maintain static fori_loop bounds.
This copying phase seems somewhat under-performant. We should just compute an interrupted flag and do the copying at once afterwards, rather than in the loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions