[Proposal] Adds TextSpan.AsReadOnlySpan() & numerics exponential parser#168
Closed
aka-nse wants to merge 4 commits intodatalust:devfrom
Closed
[Proposal] Adds TextSpan.AsReadOnlySpan() & numerics exponential parser#168aka-nse wants to merge 4 commits intodatalust:devfrom
aka-nse wants to merge 4 commits intodatalust:devfrom
Conversation
Member
|
Hi @aka-nse, thanks for sending this. In the interests of keeping Superpower tight and focused, we're not keen to add exponential number support at this stage.
Thanks again! |
Contributor
Author
|
Thank you for your responseThank you for your response. I understood the direction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello.
This pull request introduces 2 related features:
TextSpan.AsReadOnlySpan():provides the foundation for using modern span-based APIs, paving the way for improved performance.
the changes enhance the existing numerics parsing capabilities to correctly handle numbers expressed in exponential (scientific) format, such as
1.23e4or-5.67E-8.Key Changes
Motivation
Supporting exponential notation is essential for applications that process scientific or engineering data, where such formats are commonly used. This update ensures that the library can robustly handle a wider range of numeric inputs.
Impact
'$(TargetFramework)'=='netstandard2.0'.Please let me know if you need a more detailed or customized description.
Thank you.