Skip to content

perf: use ConfigureScope overload to avoid Closure allocations where possible #5219

Closed

Description

@Flash0ver

Description

Summary

Use ConfigureScope overload that receives "state" to avoid Closure allocations where possible.

Remarks

In #4244, we added a ConfigureScope overload that takes state in order to avoid Closure-allocations.

After #5039 (see #5039 (comment)), there is another location to avoid the Closure.

After a quick search, I believe there are 2 or 3 additional opportunities to avoid the Closure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions