-
Notifications
You must be signed in to change notification settings - Fork 156
Improwing speed and reduce code size when fast_float is using as internal parser code. #307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
IRainman
wants to merge
146
commits into
fastfloat:main
Choose a base branch
from
IRainman:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
146 commits
Select commit
Hold shift + click to select a range
b0b1954
* Added a config macro FASTFLOAT_DISALLOW_ANY_LEADING_SYMBOLS_INCLUDE…
IRainman 63f6abe
* Added an option disallow_leading_sign and stronger constexpr / cons…
IRainman e35e7c7
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman 2879564
more const
IRainman 9ebac23
Added a config option FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN for…
IRainman 7a38e1b
fix for 32 bit build. completely done. All other parser mode also wor…
IRainman bc3f331
# cleanup.
IRainman aba93f3
Additional compile time cleanup. When FASTFLOAT_ONLY_POSITIVE_C_NUMBE…
IRainman 388426e
fix type conversion warning.
IRainman ae29a0d
PVS-Studio founds some errors, I fixed it.
IRainman f496321
Completely remove deprecated macroses FASTFLOAT_ALLOWS_LEADING_PLUS a…
IRainman ac22204
Update README.md
IRainman c2daa8a
Added FASTFLOAT_ASSUME for support attribute [[assume]] is declared i…
IRainman 23a1367
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman 5097243
Fix compilation of benchmarks
IRainman a22dfc6
benchmark are updated, added AST parser emulation for FASTFLOAT_ONLY_…
IRainman 354f4c3
Compilation fix.
IRainman 63eb578
Add FASTFLOAT_HAS_BYTESWAP check.
IRainman 6c499fd
FASTFLOAT_ASSUME review.
IRainman 3e86e9a
####
IRainman 7858023
Tests are updated:
IRainman 474cc15
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman 681346f
Merge branch 'main' of https://github.com/fastfloat/fast_float into f…
IRainman cfd0963
Merge branch 'main' into main
IRainman 3dd9a98
more const
IRainman 1899647
GCC compilation fix.
IRainman e84f289
FASTFLOAT_IF_CONSTEXPR17
IRainman b869816
Merge branch 'main' of https://github.com/IRainman/fast_float into fa…
IRainman 07ab87c
compilation fix in some cases.
IRainman 3dd3712
lint
IRainman f3c6052
more constexpr.
IRainman 27c0cd5
lint
IRainman 2db26df
Remove consexpr/consteval from code that probably assumed to run in t…
IRainman 1ab438c
Tests are updated.
IRainman 929e981
lint
IRainman c08b7b1
tests updated
IRainman cd5db6f
lint
IRainman 0188112
compilation fix in some old compilers.
IRainman ffd3590
benchmarks are improved: back to the cycle metering because when USIN…
IRainman c598a99
fix a warning.
IRainman 9688b3b
improvements in benchmark.
IRainman 1e3a135
reduce register pressure.
IRainman 23395e4
try to compilation fix on Linux
IRainman a243773
try to compilation fix on Linux
IRainman d1617ab
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman 3eaa7d7
compilation fix.
IRainman 0340e8b
build fix.
IRainman edb51b3
.
IRainman 922eaa1
Merge branch 'fastfloat:main' into main
IRainman 67aeda0
Update README.md
IRainman 82477e9
Update README.md
IRainman 01e9d35
Tests updated and fixed.
IRainman a2d81d4
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman 6687e73
Tests are updated.
IRainman 34df2fc
Tests are updated.
IRainman 8ebc89e
Reduce registers pressure.
IRainman fc9f61e
Cleanup initialization of the adjusted_mantissa.
IRainman ed87109
Remove FASTFLOAT_CONSTEVAL20 that I was added before and cleanup diff.
IRainman 91e6c4d
.
IRainman afb54a5
Disable FASTFLOAT_ASSUME by default.
IRainman 6aea2fb
initialization cleanup.
IRainman ee620a0
reduce registers pressure.
IRainman 1651c2b
Readded FASTFLOAT_CONSTEVAL, but not used currently. Cleanup for FAST…
IRainman 3faba01
Remove PVS.
IRainman 4f0615b
Reduce register pressure and cleanup interface for standard.
IRainman 8212e9e
fix warnings in the benchmark.
IRainman b261492
reduce register pressure.
IRainman a133b72
FASTFLOAT_ASSUME
IRainman b121f53
reduce register pressure.
IRainman 5c61080
improvements of memory layout of parsed_number_string_t.
IRainman 27f0265
style cleanup.
IRainman 97bfec6
style fix.
IRainman b8f7771
after all sized checks is done I return the minimum registers size po…
IRainman f1b7f49
after all sized checks is done I return the minimum registers size po…
IRainman a591ca2
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman 7c96e3a
reduce size of from_chars_result_t to 4 bytes. Cleanup for usage FAST…
IRainman a081ebe
reduce size of from_chars_result_t to 4 bytes. Cleanup for usage FAST…
IRainman 8d4ca69
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman d32ae04
reduce size of from_chars_result_t to 4 bytes. Cleanup for usage FAST…
IRainman c762936
template interface cleanup for min_safe_u64 and max_digits_u64.
IRainman bbf4193
cleanup code generation for parse_mantissa.
IRainman 2da25b5
trying to fix tests.
IRainman 8e1fda5
fixes and cleanup for the parse_number_string function.
IRainman 6cacae0
trying to fix tests.
IRainman 68fe735
fix warnings.
IRainman f8625b6
fix warnings.
IRainman a4d1174
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman e71bfff
additional improve for debug runtime.
IRainman 88b3887
benchmark cleanup.
IRainman 563648f
* fix errors in the parse_number_string.
IRainman 0daee75
# format
IRainman 1aed8ee
try reordering again.
IRainman f3db77a
try reordering again.
IRainman b0bae17
* added chars_format_t for performance reason.
IRainman 69fbbff
try additional part...
IRainman ba1344c
* carefully work with types in the library.
IRainman 0a18d6b
# format.
IRainman 17ffdff
* additional types cleanup for speedup and reduce cache pressure.
IRainman c99930b
added additional macro FASTFLOAT_ONLY_ROUNDS_TO_NEAREST_SUPPORTED for…
IRainman 7bd3c54
benchmarks are updated.
IRainman 4e230e8
benchmarks are updated.
IRainman d67876e
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman 58cb366
Finally: after type refactoring is done give compiler opportunity to …
IRainman 8721491
Finally: after type refactoring is done give compiler opportunity to …
IRainman 8ccb587
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman 103f220
Final functions call optimization.
IRainman 5356317
Fix compilation for older standards
IRainman 0ba4e20
lint
IRainman 1febc3a
Fix compilation for older standards
IRainman a8c5bd9
warning fix.
IRainman 9049a1a
clang-format.
IRainman c94d3a0
clang-format
IRainman b2ea7bc
clang-format
IRainman afbb803
compilation fixes for std::bfloat16_t and std::float16_t. Sorry for t…
IRainman d5c05e5
additional type usage fixes and constexpr.
IRainman 99d769d
clang-format
IRainman 66363cc
try to fix stupid shit in the tests, meh.
IRainman ba3f7a6
.
IRainman f2befa5
.
IRainman e5f1897
compilation fixes.
IRainman 30bd959
Update msys2-clang.yml
IRainman c339618
Update msys2.yml
IRainman 3f9e488
format, fuck.
IRainman a10b25f
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman a4c573e
compilation fix
IRainman a3ccc1f
compilation fix
IRainman e446899
compilation fix.
IRainman 6f789de
compilation fix.
IRainman 1ec5f08
compilation fix
IRainman 036ba0d
compilation fix
IRainman 568dfef
compilation fix
IRainman 2f8ff9a
compilation fix
IRainman 4b94a61
type usage fix
IRainman 23a9c3f
review of the parse_number_string function: now it's much faster, saf…
IRainman f7d5037
fix for the parse_number_string
IRainman 6b22957
fix for the parse_number_string
IRainman 3ee80c2
fix for the parse_number_string
IRainman 88fff01
fix for the parse_number_string
IRainman f14d482
fix for the parse_number_string
IRainman 7bac324
fix for the parse_number_string
IRainman a550415
additional fix for bfloat16_t. Sorry, I can't compile it's locally.
IRainman 978441a
additional FASTFLOAT_HAS_BIT_CAST improve for older standards.
IRainman 437a80c
fix for type usage in parse_int_string
IRainman 5ae2fba
cleanup for parse_number_string
IRainman 4213171
compilation fix for internal tests
IRainman a72afb5
unfck clang format
IRainman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.