mirror of
https://github.com/lemire/fast_double_parser.git
synced 2025-04-10 20:10:39 +00:00
Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
|
bc93aee338 | ||
|
f5096c7a94 | ||
|
22ac46158c | ||
|
3aaddfe336 |
3 changed files with 33 additions and 0 deletions
22
BUILD.bazel
Normal file
22
BUILD.bazel
Normal file
|
@ -0,0 +1,22 @@
|
|||
cc_library(
|
||||
name = "fast_double_parser",
|
||||
hdrs = ["include/fast_double_parser.h"],
|
||||
strip_include_prefix = "include",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "unit",
|
||||
srcs = ["tests/unit.cpp"],
|
||||
deps = [":fast_double_parser"],
|
||||
)
|
||||
|
||||
cc_binary(
|
||||
name = "benchmark",
|
||||
srcs = ["benchmarks/benchmark.cpp"],
|
||||
deps = [
|
||||
":fast_double_parser",
|
||||
"@abseil-cpp//absl/strings",
|
||||
"@double-conversion",
|
||||
],
|
||||
)
|
10
MODULE.bazel
Normal file
10
MODULE.bazel
Normal file
|
@ -0,0 +1,10 @@
|
|||
"""fast_double_parser: 4x faster than strtod."""
|
||||
|
||||
module(
|
||||
name = "fast_double_parser",
|
||||
version = "0.8.0",
|
||||
compatibility_level = 0,
|
||||
)
|
||||
|
||||
bazel_dep(name = "abseil-cpp", version = "20240722.0", dev_dependency = True)
|
||||
bazel_dep(name = "double-conversion", version = "3.3.0", dev_dependency = True)
|
|
@ -169,6 +169,7 @@ double-conv 243.90 MB/s
|
|||
- [There is a Rust port](https://github.com/ezrosent/frawk/tree/master/src/runtime/float_parse).
|
||||
- [There is a Java port](https://github.com/wrandelshofer/FastDoubleParser).
|
||||
- [There is a C# port](https://github.com/CarlVerret/csFastFloat).
|
||||
- [Bazel Central Registry](https://registry.bazel.build/modules/fast_double_parser).
|
||||
|
||||
## Credit
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue