{"id":18364161,"url":"https://github.com/boxbeam/crunch_eval","last_synced_at":"2025-04-13T20:14:59.057Z","repository":{"id":65284401,"uuid":"588974608","full_name":"boxbeam/crunch_eval","owner":"boxbeam","description":"High-performance algebraic expression evaluator for Rust","archived":false,"fork":false,"pushed_at":"2023-03-04T01:09:49.000Z","size":25,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T20:14:55.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/boxbeam.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-01-14T16:54:51.000Z","updated_at":"2025-03-15T16:47:50.000Z","dependencies_parsed_at":"2023-12-11T02:27:02.312Z","dependency_job_id":"44043299-d48f-474e-8dc4-8f44c56fa70b","html_url":"https://github.com/boxbeam/crunch_eval","commit_stats":null,"previous_names":["boxbeam/crunch_eval","redempt/crunch_eval"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxbeam%2Fcrunch_eval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxbeam%2Fcrunch_eval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxbeam%2Fcrunch_eval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxbeam%2Fcrunch_eval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxbeam","download_url":"https://codeload.github.com/boxbeam/crunch_eval/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248774968,"owners_count":21159534,"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-05T23:09:29.556Z","updated_at":"2025-04-13T20:14:59.020Z","avatar_url":"https://github.com/boxbeam.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crunch_eval\nHigh-performance algebraic expression evaluator.\n\n## Basic usage:\n```\nuse crunch_eval::expr::Expr;\nlet expr = Expr::compile(\"1 + 1\").unwrap();\nlet val: f64 = expr.evaluate_blank().unwrap();\nassert_eq!(val, 2.0);\n```\n\n## Benchmarks:\n\nExpression: `6.5*7.8^2.3 + (3.5^3+7/2)^3 -(5*4/(2-3))*4 + 6.5*7.8^2.3 + (3.5^3+7/2)^3 -(5*4/(2-3))*4 + 6.5*7.8^2.3 + (3.5^3+7/2)^3 -(5*4/(2-3))*4 + 6.5*7.8^2.3 + (3.5^3+7/2)^3 -(5*4/(2-3))*4`\n\nTime to compile long expression:\n\n| compile     | time/op (µs) |\n|-------------|--------------|\n| crunch_eval | 13.56        |\n| evalexpr    | 32.36        |\n\nTime to evaluate long expression:\n\n| eval        | time/op (ns) |\n|-------------|--------------|\n| crunch_eval | 2.97         |\n| evalexpr    | 5.96         |\n\nExpression: `double(x + 1)`\n\nTime to evaluate expression with variable and function:\n\n| eval        | time/op (ns) |\n|-------------|--------------|\n| crunch_eval | 48.46        |\n| evalexpr    | 341.83       |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxbeam%2Fcrunch_eval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxbeam%2Fcrunch_eval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxbeam%2Fcrunch_eval/lists"}