Skip to content

Reduce allocations in the Task structure #11389

Closed
@brson

Description

@brson

Spawning a green Task right now incurs untold numbers of allocations. It would be super nice to reduce this to ~1 allocation. Doing so will require a lot of trickery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsE-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions