{"id":16661394,"url":"https://github.com/bodigrim/fast-digits","last_synced_at":"2025-03-16T23:31:40.340Z","repository":{"id":35798961,"uuid":"40080476","full_name":"Bodigrim/fast-digits","owner":"Bodigrim","description":"Split integers into digits, blazingly fast","archived":false,"fork":false,"pushed_at":"2024-07-08T20:06:43.000Z","size":75,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-16T06:33:12.045Z","etag":null,"topics":["arithmetic","digits"],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/fast-digits","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bodigrim.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2015-08-02T13:40:20.000Z","updated_at":"2024-07-08T20:06:46.000Z","dependencies_parsed_at":"2024-05-04T04:33:33.770Z","dependency_job_id":"e0fb79ce-ec71-415f-8192-22eb48a8498a","html_url":"https://github.com/Bodigrim/fast-digits","commit_stats":{"total_commits":62,"total_committers":1,"mean_commits":62.0,"dds":0.0,"last_synced_commit":"d9f55bba06eaedfaab6a1078225d919007419392"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodigrim%2Ffast-digits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodigrim%2Ffast-digits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodigrim%2Ffast-digits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodigrim%2Ffast-digits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bodigrim","download_url":"https://codeload.github.com/Bodigrim/fast-digits/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243950042,"owners_count":20373657,"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","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":["arithmetic","digits"],"created_at":"2024-10-12T10:34:49.516Z","updated_at":"2025-03-16T23:31:39.811Z","avatar_url":"https://github.com/Bodigrim.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fast-digits [![Hackage](http://img.shields.io/hackage/v/fast-digits.svg)](https://hackage.haskell.org/package/fast-digits) [![Stackage LTS](http://stackage.org/package/fast-digits/badge/lts)](http://stackage.org/lts/package/fast-digits) [![Stackage Nightly](http://stackage.org/package/fast-digits/badge/nightly)](http://stackage.org/nightly/package/fast-digits)\n\nThe fastest Haskell library to split integers into digits.\nIt is both asymptotically (O(n\u003csup\u003e1.4\u003c/sup\u003e) vs. O(n\u003csup\u003e2\u003c/sup\u003e))\nand practically (2x-40x for typical inputs)\nfaster than [Data.Digits](https://hackage.haskell.org/package/digits).\n\nHere are benchmarks for GHC 8.10:\n\n```\n\u003e cabal bench -w ghc-8.10.4\nAll\n  short\n    2\n      FastDigits:  OK (3.11s)\n        12.3 ms ± 701 μs\n      Data.Digits: OK (1.41s)\n        22.2 ms ± 1.8 ms, 1.81x\n    10\n      FastDigits:  OK (2.11s)\n        4.16 ms ± 369 μs\n      Data.Digits: OK (3.74s)\n        7.40 ms ± 235 μs, 1.78x\n    100000\n      FastDigits:  OK (4.89s)\n        1.20 ms ±  69 μs\n      Data.Digits: OK (3.96s)\n        1.95 ms ±  78 μs, 1.63x\n    1000000000\n      FastDigits:  OK (4.02s)\n        985  μs ±  62 μs\n      Data.Digits: OK (3.15s)\n        1.54 ms ±  70 μs, 1.56x\n  medium\n    2\n      FastDigits:  OK (3.02s)\n        1.49 ms ±  66 μs\n      Data.Digits: OK (1.42s)\n        5.62 ms ± 542 μs, 3.77x\n    10\n      FastDigits:  OK (2.35s)\n        571  μs ±  42 μs\n      Data.Digits: OK (1.77s)\n        1.76 ms ± 152 μs, 3.07x\n    100000\n      FastDigits:  OK (3.87s)\n        238  μs ±  19 μs\n      Data.Digits: OK (3.44s)\n        419  μs ±  23 μs, 1.76x\n    1000000000\n      FastDigits:  OK (3.05s)\n        186  μs ±  13 μs\n      Data.Digits: OK (4.42s)\n        268  μs ±  11 μs, 1.44x\n  long\n    2\n      FastDigits:  OK (3.75s)\n        3.60 ms ± 215 μs\n      Data.Digits: OK (1.89s)\n        125  ms ± 9.6 ms, 34.88x\n    10\n      FastDigits:  OK (2.30s)\n        2.24 ms ± 125 μs\n      Data.Digits: OK (2.47s)\n        39.0 ms ± 2.0 ms, 17.40x\n    100000\n      FastDigits:  OK (1.93s)\n        1.88 ms ± 139 μs\n      Data.Digits: OK (4.52s)\n        8.82 ms ± 533 μs, 4.70x\n    1000000000\n      FastDigits:  OK (1.77s)\n        1.71 ms ± 149 μs\n      Data.Digits: OK (1.35s)\n        5.30 ms ± 482 μs, 3.10x\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodigrim%2Ffast-digits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodigrim%2Ffast-digits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodigrim%2Ffast-digits/lists"}