Skip to content

Investigate integration with Microsoft.Toolkit.HighPerformance #1392

Answered by antonfirsov
Sergio0694 asked this question in Ideas
Discussion options

You must be logged in to vote

You probably won't like my answer.

We have our own versions of Memory2D (Buffer2D) and Span2D (Buffer2DRegion) which are already integrated, and work efficiently with other ImageSharp memory management primitives. In theory we could unify these middleware components, which would be an interesting technical challenge, but doesn't bring visible customer benefits for ImageSharp.

Regarding Guard, ThrowHelper and similar: I believe these are very thin primitives, where a potential benefit of a dependency doesn't justify the cost of taking a dependency. I believe we get the most productivity and flexibility if the source of these primitives is self-contained & maintained by SixLabors.

In short,…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@antonfirsov
Comment options

@Sergio0694
Comment options

Sergio0694 Oct 20, 2020
Collaborator Author

@JimBobSquarePants
Comment options

@JimBobSquarePants
Comment options

@JimBobSquarePants
Comment options

Answer selected by Sergio0694
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants