Skip to content

Create a way to prevent collection happening #43

Description

@Others

It'd be cool if there was a guard you could hold to prevent collection, something like:

fn prevent_collection() -> PreventCollectionGuard {...}

struct PreventCollectionGuard {...}

This may be useful for preventing collection on the hot path

Activity

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions