NetTopologySuite / NetTopologySuite.IO.PostGis

PostGis IO module for NTS.
BSD 3-Clause "New" or "Revised" License
12 stars 8 forks source link

Add async IO support #13

Open YohDeadfall opened 3 years ago

YohDeadfall commented 3 years ago

To improve an overall performance of an app it makes sense to use async IO since it's not blocking and allows to process data in background and prevent the pooled thread from being blocked. The only blocker here is that BinaryReader has no async methods and all logic should be rewritten, but to avoid repeating internals and bringing errors to the existing code there is System.IO.Pipelines.

roji commented 3 years ago

Tracking issue in the .NET BCL for making BinaryReader async: https://github.com/dotnet/runtime/issues/17229