itinero / routing

The routing core of itinero.
Apache License 2.0
221 stars 70 forks source link

Use NativeMemoryArray<T> when available and appropriate. #249

Open airbreather opened 5 years ago

airbreather commented 5 years ago

This is essentially the same code that produced the table in itinero/reminiscence#18, plus some surface-level improvements to make it suitable for production.

It allows injecting an instance of IUnmanagedMemoryAllocator in case someone wants to use something platform-specific that outperforms a combination of the global heap with explicit zeroing.

airbreather commented 5 years ago

TeamCity build failed on the "Run Basic Sample (Command Line)" step, but that step was skipped on the build for #246 for some reason...

xivk commented 5 years ago

Yes, I'm busy enabling these checks again for the pull-requests, this will be fixed soon.