Skip to content

Question: Where is the difference between: "Microsoft.Toolkit.HighPerformance.Buffers.SpanOwner<T>" and "DotNext.MemoryRental<T>"? #158

Closed

Description

@CodingMadness

Title.

src for "SpanOwner": https://learn.microsoft.com/en-us/dotnet/communitytoolkit/high-performance/spanowner

I cant quite grasp in what scenario yours may be better or equal to that type? I liked from your type that it may rent from whatever pool depending on the size needed, although I dont know if the reasoning-algorithm for that beats the purpose of "SpanOwner" from "Microsoft.Toolkit.HighPerformance" Nuget-package.

Any advise to this is very very appreciated cause I am in process to determine the proper buffering-strategy and would be cool to get the best one selected ^^

Btw very strong and dedicated work you have put in here, you earned my highest respect!

Activity

  1. locked and limited conversation to collaborators on Apr 9, 2023
  2. converted this issue into a discussion #159 on Apr 9, 2023
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions