justinstenning / SharedMemory

C# shared memory classes for sharing data between processes (Array, Buffer and Circular Buffer)
https://www.nuget.org/packages/SharedMemory
Other
566 stars 118 forks source link

Changing SharedArray Length type from int to long #60

Closed garethparris closed 3 years ago

garethparris commented 3 years ago

We've a potential case for changing the type of Length in SharedArray (in a custom implementation) from int to long. Do you forsee any potential issues with this apart from the obvious impact on memory use/availability?

justinstenning commented 3 years ago

I don't think that will be a problem. The base class uses a long for buffer size already.