{"id":16572123,"url":"https://github.com/eddelbuettel/rcppfastfloat","last_synced_at":"2025-08-19T23:09:34.050Z","repository":{"id":54657150,"uuid":"334467943","full_name":"eddelbuettel/rcppfastfloat","owner":"eddelbuettel","description":"Rcpp Bindings for the 'fastfloat' Header-Only Library","archived":false,"fork":false,"pushed_at":"2025-04-12T11:33:39.000Z","size":142,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T12:40:14.246Z","etag":null,"topics":["cran","r","r-package","rcpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddelbuettel.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-30T17:11:40.000Z","updated_at":"2025-04-12T11:33:43.000Z","dependencies_parsed_at":"2024-03-12T01:38:14.577Z","dependency_job_id":"81b83638-1494-45a0-ae6a-e2544fdcbb36","html_url":"https://github.com/eddelbuettel/rcppfastfloat","commit_stats":{"total_commits":26,"total_committers":3,"mean_commits":8.666666666666666,"dds":0.07692307692307687,"last_synced_commit":"afd9e834bc055a422ca41e9a9997a6b97dbc5cde"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eddelbuettel/rcppfastfloat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Frcppfastfloat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Frcppfastfloat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Frcppfastfloat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Frcppfastfloat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddelbuettel","download_url":"https://codeload.github.com/eddelbuettel/rcppfastfloat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Frcppfastfloat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271236280,"owners_count":24723978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","r","r-package","rcpp"],"created_at":"2024-10-11T21:26:28.959Z","updated_at":"2025-08-19T23:09:34.027Z","avatar_url":"https://github.com/eddelbuettel.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## RcppFastFloat: Rcpp Bindings for the fastfloat C++ Header-Only Library\n\n[![CI](https://github.com/eddelbuettel/rcppfastfloat/workflows/ci/badge.svg)](https://github.com/eddelbuettel/rcppfastfloat/actions?query=workflow%3Aci)\n[![License](https://eddelbuettel.github.io/badges/GPL2+.svg)](https://www.gnu.org/licenses/gpl-2.0.html)\n[![CRAN](https://www.r-pkg.org/badges/version/RcppFastFloat)](https://cran.r-project.org/package=RcppFastFloat)\n[![Dependencies](https://tinyverse.netlify.app/badge/RcppFastFloat)](https://cran.r-project.org/package=RcppFastFloat)\n[![Downloads](https://cranlogs.r-pkg.org/badges/RcppFastFloat?color=brightgreen)](https://www.r-pkg.org/pkg/RcppFastFloat)\n[![Last Commit](https://img.shields.io/github/last-commit/eddelbuettel/rcppfastfloat)](https://github.com/eddelbuettel/rcppfastfloat)\n\n### Motivation\n\nConverting ascii text into (floating-point) numeric values is a very common problem. The\n[fast_float](https://github.com/fastfloat/fast_float) header-only C++ library by [Daniel\nLemire](https://lemire.me/en/) does this very well, and very fast at up to or over to 1 gigabyte per\nsecond as described in more detail in a [recent arXiv paper](https://arxiv.org/abs/2101.11408).\n\nThis package brings this header-only library to R so that other R user can access it simply by\nadding `LinkingTo: RcppFastFloat`.\n\n### Example\n\nA modified example function is included, try \n\n```r\nlibrary(RcppFastFloat)\nexampleParse()\n```\n\nwith default arguments---or supply some arguments.  We also include a simple timing comparison in\nthe file [benchmark/comparison.R](inst/benchmark/comparison.R) which you can run just call via\n`Rscript` or [`r`](https://github.com/eddelbuettel/littler). On our machine, `fast_float` comes out\nas just over 3 times as fast as the next best alternative (and this counts the function calls and\nall, so pure parsing speed is still a little bettter).\n\n```r\n\u003e source(\"comparison.R\")\nUnit: milliseconds\n      expr      min       lq     mean   median       uq      max neval cld\n     scanf 218.8936 224.1223 238.5650 227.1901 229.9116 1343.433   100   c\n      atof 124.8087 127.3274 129.4104 128.5858 130.9138  146.334   100  b \n    strtod 124.5705 127.2157 129.1238 129.1042 130.7504  137.143   100  b \n      stod 127.1751 129.7343 131.7339 131.4854 133.1425  147.763   100  b \n fastfloat  40.6219  41.3042  42.5729  42.3209  43.1738   57.788   100 a  \n\u003e \n```\n\nOr in chart form:\n\n![](https://eddelbuettel.github.io/rcppfastfloat/comparison.png)\n\n\n### Status\n\nRight now the package is brand new and reasonably empty. \n\n### Contributing\n\nAny problems, bug reports, or features requests for the package can be submitted and handled most\nconveniently as [Github issues](https://github.com/eddelbuettel/rcppfastfloat/issues) in the\nrepository.\n\nBefore submitting pull requests, it is frequently preferable to first discuss need and scope in such\nan issue ticket.  See the file\n[Contributing.md](https://github.com/RcppCore/Rcpp/blob/master/Contributing.md) (in the\n[Rcpp](https://github.com/RcppCore/Rcpp) repo) for a brief discussion.\n\n### Author\n\nFor the R package, [Dirk Eddelbuettel](https://github.com/eddelbuettel) and [Brendan\nKnapp](https://github.com/knapply).\n\n\nFor everything pertaining to `fast_float`, [Daniel Lemire](https://lemire.me/en/) (and\n[contributors](https://github.com/fastfloat/fast_float/graphs/contributors)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Frcppfastfloat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddelbuettel%2Frcppfastfloat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Frcppfastfloat/lists"}