Skip to content

Prefer ValueTask<T> over Task<T> #354

@lsymds

Description

@lsymds

Some adapters are synchronous, or have minimal use of asynchronous tasks. Thus, converting most responses throughout the library to ValueTask over Task will offer some performance benefits.

Similar improvements will be able to be seen under the IterateDirectoryContentsAsync method in each adapter where the action might not always be asynchronous.

This will be an API change, so will require a major version release. Probably best to group a few of them together to achieve the best benefit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreChanges related to core functionality.enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions