osm-legal-default-speeds icon indicating copy to clipboard operation
osm-legal-default-speeds copied to clipboard

C# Port

Open erlenddahl opened this issue 8 months ago • 3 comments

Hi there!

This is not really an issue, but I'm not sure what's the normal procedure in such cases, so I'm contacting you here.

I found your library, and while it works very well, I need it integrated in my existing C# environment for performance reasons, so I ported it to C#. The task of porting it was done first automatically (by feeding each class into an AI), then I made some manual adjustments to make it compile, and fixed some minor errors the AI had done so that all tests passed. I made a few adjustments to make the code more C#-y, but it's mostly a direct translation (some of it is a bit more verbose in C# than in Kotlin, and some of it could probably be simplified, but I thought it would be easier to apply future updates from the original library if the code is mostly untouched).

It seems to work very well. I'd happily share the port on Github in case others are in the same boat, but I thought I should ask you first.

erlenddahl avatar Jul 02 '24 09:07 erlenddahl