fast_to_f
Version, currently master branch1 version
- master branchlatestMar 4, 2021
github.com/kostya/fast_to_f
Fast floats parser in Crystal (wrapper for fast_double_parser).
4 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
fast_to_f:
github: kostya/fast_to_f
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.36.1- License
- MIT
- Author
- Konstantin Makarchev
Dependencies
This version declares no dependencies.
README
fast_to_f
Crystal wrapper for fast_double_parser.
Installation
-
Add the dependency to your
shard.yml:dependencies: fast_to_f: github: kostya/fast_to_f -
Run
shards install(requires gcc and wget).
Usage
require "fast_to_f"
if v = FastToF.parse?("0.54321")
p v
end
Benchmark
str.to_f64: 6.40s
FastToF.parse?(str): 1.62s
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Mar 4, 2021
- Crystal
0.36.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/kostya/fast_to_f
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1