-
Notifications
You must be signed in to change notification settings - Fork 174
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
295
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
295 commits
Select commit
Hold shift + click to select a range
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 acdcd04
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman 0cdbf36
Bump actions/checkout from 4 to 5 in the github-actions group
dependabot[bot] 41dc71f
Merge branch 'fastfloat:main' into main
IRainman cd3118d
Merge pull request #2 from IRainman/dependabot/github_actions/github-…
IRainman af1f8e3
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman e3aa994
# fix for stackvec constructor.
IRainman 10970db
# cleanup
IRainman af8ece2
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman 3292820
* Readme updated.
IRainman 097800a
# compilation fix after merge from upstream.
IRainman 384fcec
# clang format
IRainman fe37628
# types fix after merge from upstream.
IRainman c7e0786
Update README.md
IRainman 9f4be55
Bump the github-actions group across 1 directory with 3 updates
dependabot[bot] 0f1a96a
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman 72e75ed
# compilation fix after merge.
IRainman 240d393
# format
IRainman 322e17b
Merge pull request #5 from IRainman/dependabot/github_actions/github-…
IRainman 3288e56
# compilation fix after merge
IRainman 4dcaf50
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman 031f7fe
# tests are updated
IRainman 1dc13a9
# improve checking for integer in the FASTFLOAT_ONLY_POSITIVE_C_NUMBE…
IRainman fe0bce5
# const and constexpr fixes
IRainman 5a378ed
# minimize diff in the crutch.
IRainman 0e123c5
# fix for digit_comp.
IRainman 487799e
# cleanup and speedup digit_comp.
IRainman 336b97d
# cleanup.
IRainman eee068d
# types fix.
IRainman 1f0e281
# type usage fix.
IRainman 58b5dc0
* Upgrade manually vectorized code to SSE4.2 for FASTFLOAT_64BIT beca…
IRainman f757eb4
* Upgrade manually vectorized code to support SSE4.2.
IRainman f396c23
* Upgrade manually vectorized code to support SSE4.2, final cleanup a…
IRainman 397c0b8
# fix for FASTFLOAT_64BIT
IRainman 1dfd486
# cleanup
IRainman 57f63fc
* fix for parse_eight_digits_unrolled
IRainman 6c175c5
# format
IRainman 0c4171e
# small cleanup
IRainman 5dc09e7
Bump the github-actions group across 1 directory with 3 updates
dependabot[bot] 1d912b7
Merge pull request #7 from IRainman/dependabot/github_actions/github-…
IRainman 625d9af
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman f5dbaab
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman e35e6d2
Merge branch 'fastfloat:main' into main
IRainman 97045b1
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman 56d4233
* Improving in code generation -> speedup.
IRainman 62b60e0
# Disable FASTFLOAT_HAS_BYTESWAP: step to try to fix precision error …
IRainman e6f2bf1
# test failed.
IRainman e96afe6
* try to fix precision error on x86 platform step2.
IRainman 77ef468
* try to fix precision error on x86 platform step3.
IRainman 578b1e9
* try to fix precision error on x86 platform step4.
IRainman cd62aad
* try to fix precision error on x86 platform step5.
IRainman df6b574
* try to fix precision error on x86 platform step6.
IRainman 1ba0d48
* try to fix precision error on x86 platform step7.
IRainman 97aa629
* try to fix precision error on x86 platform step8.
IRainman 3e498bb
* try to fix precision error on x86 platform step9.
IRainman a92f025
* type usage fix
IRainman 9e1d063
# tests
IRainman 80902aa
* try to fix error on x86 platform step1.
IRainman 50fa3ad
* code cleanup.
IRainman d0c7def
* try to fix error on x86 platform step2.
IRainman 3ae6d3c
# unfck lint
IRainman e109eed
* try to fix error on x86 platform step3.
IRainman b9d91e7
* code cleanup.
IRainman 959c953
# cycles (for and while) cleanup in low level for the best compiler o…
IRainman c8e4d89
# unfck lint
IRainman 497e65b
* Added separate config macros FASTFLOAT_ISNOT_CHECKED_BOUNDS.
IRainman b816370
* type usage fix for better performance in any hardware.
IRainman 597c239
# test fixed.
IRainman c9d0ac0
# cleanup.
IRainman 843aa3f
* improvements in compiler function detection.
IRainman 3685667
* FASTFLOAT_HAS_BIT_CAST cleanup.
IRainman 3d46d99
# warning fix.
IRainman d697541
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman 077c6d0
Bump the github-actions group across 1 directory with 2 updates
dependabot[bot] 7fd3d71
Merge branch 'fastfloat:main' into main
IRainman 1cc96de
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman f4b821a
Merge pull request #9 from IRainman/dependabot/github_actions/github-…
IRainman 588623e
* type usage fix for better performance in any hardware.
IRainman c54bafd
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman b79c3e5
Benchmark are updated.
IRainman 47e181d
Bump the github-actions group with 2 updates
dependabot[bot] ac1e4dd
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman b73ae25
Merge pull request #10 from IRainman/dependabot/github_actions/github…
IRainman 65810eb
* enable warning in GCC because PVS-Studio are also detect this. This…
IRainman 0838651
Merge branch 'main' of https://github.com/IRainman/fast_float
IRainman f42c880
* enable warning in GCC because PVS-Studio are also detect this. This…
IRainman 600f236
* Small optimization in code generation for auto vectorization.
IRainman 7041f91
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman b7fb05b
* Added additional compile option FASTFLOAT_TABLE_HACK_CHAR_DIGIT_LUT…
IRainman 2aba168
* optimize layout of the parsed_number_string_t.
IRainman a8c78f4
unfck lint.
IRainman e88d9ae
FASTFLOAT_HAS_BYTESWAP cleanup.
IRainman 325c723
MSVC compilation fix.
IRainman 9ff1624
small fix.
IRainman 074fdea
small fix
IRainman be46835
fix for biodegradable code in doctest.
IRainman cdabfe4
# constexpr noexcept
IRainman d07362c
Final review for a more simple merge.
IRainman 350ad6e
unfck lint
IRainman c119cdd
revert workflows.
IRainman 0d36a01
Doctest DOCTEST_CONFIG_SUPER_FAST_ASSERTS
IRainman 54d1f5a
fucking lint
IRainman 5652a16
Update the Readme with fmt to the high performance example.
IRainman 3ae10ee
Enhance README with compiler optimization details
IRainman 8a518f4
am_pow_t is probably needs to be 64 bit because some hard coded value…
IRainman 7ce5343
try again. need test refactoring.
IRainman 6cefbb5
remove format.cmd: use IDE.
IRainman 3745f4b
* documentation in the code updated, fixed errors with parsing some s…
IRainman 2260580
fix compilation error in uint8_t parsing.
IRainman fb1e92c
code cleanup and type usage fixes.
IRainman 812d89e
type usage fixes.
IRainman c1265cf
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman 62bc4b4
type usage fixes.
IRainman 59c873d
cleanup.
IRainman 5bc9637
type usage fixes.
IRainman 5c6a6c2
type usage fixes.
IRainman 8f49511
noexcept
IRainman 489703f
type usage fixes.
IRainman 37152ea
type usage fixes.
IRainman 054004f
cleanup and type usage fixes.
IRainman ebc2ee8
optimization for the report_parse_error.
IRainman dad07cc
initialization cleanup and improve caches usage.
IRainman 59da568
type usage fix.
IRainman 5857b98
some warnings fix in CI builds.
IRainman a28e112
initialization cleanup.
IRainman 38d0ab3
initialization cleanup.
IRainman 147cf3b
type usage fix and cleanup.
IRainman 351e4d3
type usage fixes.
IRainman 35bca9c
type usage fixes.
IRainman 0d42336
type usage fixes.
IRainman 8330f85
type usage fixes.
IRainman 611cd92
type usage fixes.
IRainman f4cae22
type usage fix.
IRainman 9a0fa47
cleanup.
IRainman f556a68
cleanup.
IRainman 41d9632
interface cleanup.
IRainman 8f79501
* small cleanup in the tests/basictest.cpp
IRainman 7ca9c84
type usage fixes.
IRainman f92d7fb
Merge branch 'main' of https://github.com/fastfloat/fast_float
IRainman 2423180
cleanup
IRainman 051d151
small performance improvement after full cleanup.
IRainman cd61547
FASTFLOAT_HAS_BIT_CAST fix for old standards.
IRainman fcdb586
cleanup in the API.
IRainman 3d69a95
type usage fix.
IRainman f9bac93
type usage fix.
IRainman 4910698
added compilation flags to the bench ip.
IRainman ba656ac
improvements in the code generation for byteswap and leading_zero to …
IRainman 48abeeb
byteswap isn't compiling properly, no nay crutches that I try not hel…
IRainman 61c7b53
small update for benchmark.
IRainman f5d44c7
compilation fix.
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.