itinero / reminiscence

A library for cross-platform memory mapping.
MIT License
9 stars 6 forks source link

MemoryArray<T>: blockSize Cannot Be Zero #4

Closed airbreather closed 5 years ago

airbreather commented 7 years ago

This line explicitly allows a block size of zero, but that doesn't really work here since there's no finite number of such blocks that can satisfy any requested length.

From a quick search, the other Itinero projects don't look like they ever provide a different block size, so this probably doesn't affect anyone right away.