mongo-csharp-driver icon indicating copy to clipboard operation
mongo-csharp-driver copied to clipboard

CSHARP-2758 : Add Span<T> support to ObjectId

Open jasonkuo41 opened this issue 5 years ago • 1 comments

This adds the System.Memory package to the driver.

I hope that we could use this to further boost the performance of the driver with the new concept of Span<T> and Memory<T> introduced in .Net Core 2.1.

I'll add Span support to ObjectId for now, note that it may be possible to also add such support (and many other concepts introduced in System.Memory) towards BsonStream making it more performant in the future.

jasonkuo41 avatar Sep 27 '19 16:09 jasonkuo41

As per: https://jira.mongodb.org/browse/CSHARP-2758

jasonkuo41 avatar Sep 27 '19 16:09 jasonkuo41

Thanks for submitting this ticket @jasonkuo41

We are going to introduce support for Span<T> in our serialization in CSHARP-5125. It's scheduled after 3.0 release where we plan to introduce some architectural changes. Closing this ticket as won't as do, as this will be part of CSHARP-5125.

BorisDog avatar Jun 14 '24 18:06 BorisDog