Skip to content

Memory usage #33

Description

@JanKoelzer

In pollFor and triggerOrAdd the current.res is repeatedly wrapped in new NewOutcome(_). This is costly in terms of runtime and in terms of memory.
One could have IntermediateState.res of type NextOutcome[V] and always store NextOutcome(v). Than this unique object could be passed around.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions