{"id":19512400,"url":"https://github.com/vmchale/morphism-zoo","last_synced_at":"2025-04-26T04:31:34.951Z","repository":{"id":128761373,"uuid":"92235355","full_name":"vmchale/morphism-zoo","owner":"vmchale","description":"Some examples of recursion schemes, with benchmarks","archived":false,"fork":false,"pushed_at":"2017-07-08T01:21:06.000Z","size":662,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T07:51:13.196Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmchale.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-05-24T01:08:47.000Z","updated_at":"2024-11-13T23:59:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"c85b4b45-3615-42fe-a75a-eaa8d6e292ac","html_url":"https://github.com/vmchale/morphism-zoo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fmorphism-zoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fmorphism-zoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fmorphism-zoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fmorphism-zoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmchale","download_url":"https://codeload.github.com/vmchale/morphism-zoo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250931022,"owners_count":21509802,"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":[],"created_at":"2024-11-10T23:25:48.142Z","updated_at":"2025-04-26T04:31:34.938Z","avatar_url":"https://github.com/vmchale.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# morphism-zoo\n[![Build Status](https://travis-ci.org/vmchale/morphism-zoo.svg?branch=master)](https://travis-ci.org/vmchale/morphism-zoo)\n\n## Benchmarks\n\nThis repository is for examples of recursion schemes, and benchmarks\nto compare them to other methods you might consider. You can find the results in the\n`results` directory.\n\n### Running the Benchmarks\n\nSimply clone this repo and install [stack](http://haskellstack.org). Then:\n\n```bash\n $ stack bench\n```\n\nor, if you'd like a particular version of ghc:\n\nTo benchmark only one target:\n\n```bash\n $ stack bench morphism-zoo:suffix-bench-long\n```\n\n### Conclusions\n\nRecursion schemes are faster sometimes, and pattern matching is faster other\ntimes. Hylomorphisms vs. paramorphisms will make a difference too. Benchmark it\nif you're curious!\n\n## Suffix Benchmarks\n\nTo run the suffix benchmarks for Haskell, install [llvm\n3.9](http://releases.llvm.org/download.html). Then:\n\n```\nstack bench morphism-zoo:suffix-bench\n```\n\nTo benchmark the Rust:\n\n```\ncd rust\ncargo bench\n```\n\nTo benchmark the Python:\n\n```\npython python/python-suffix.py\n```\n\nTo benchmark the Julia:\n\n```\njulia julia/init.jl\njulia suffixes.jl\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmchale%2Fmorphism-zoo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmchale%2Fmorphism-zoo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmchale%2Fmorphism-zoo/lists"}