Closed jonfortescue closed 7 years ago
@KrzysztofCwalina @shiftylogic Is anyone signed up to implement this? I was switching my code to use some System.Text.Primitives stuff, but it's not really feasible until Single
parsing works.
@mellinoe Feel free to grab it.
@shiftylogic I actually may have some time to donate this weekend. Have we thought about a strategy here? I was able to get a version working by copy-and-pasting a bunch of CoreRT code into my project, and making it use ReadOnlySpan<char>
instead of string
:
I don't know if the CoreRT version is very good, though -- only that it is pure C#.
@mellinoe That is not a bad strategy. For some of the encoders, we have copied implementations from coreclr and modified them for Span
this is done
@KrzysztofCwalina I see that things have been reorganized a bit. Where is the float-parsing functionality at now?
System.Memory package (corefx). It's allocating though.
Float and doubles are technically supported as of PR #756. However, due to the placeholder nature of these methods, this issue will be left unresolved for now.