{"id":21655277,"url":"https://github.com/pseitz/fastcpy","last_synced_at":"2026-05-18T17:45:10.975Z","repository":{"id":232839769,"uuid":"644244749","full_name":"PSeitz/fastcpy","owner":"PSeitz","description":"fastcpy","archived":false,"fork":false,"pushed_at":"2023-05-24T03:48:18.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T04:44:46.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PSeitz.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}},"created_at":"2023-05-23T05:58:12.000Z","updated_at":"2023-11-21T23:59:31.000Z","dependencies_parsed_at":"2024-04-11T19:25:56.138Z","dependency_job_id":"d266c1e4-6fe8-4e11-ac0b-874b10d7195c","html_url":"https://github.com/PSeitz/fastcpy","commit_stats":null,"previous_names":["pseitz/fastcpy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PSeitz/fastcpy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSeitz%2Ffastcpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSeitz%2Ffastcpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSeitz%2Ffastcpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSeitz%2Ffastcpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PSeitz","download_url":"https://codeload.github.com/PSeitz/fastcpy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSeitz%2Ffastcpy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33186226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-25T08:31:13.146Z","updated_at":"2026-05-18T17:45:10.945Z","avatar_url":"https://github.com/PSeitz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# FastCpy\n\nThe Rust Compiler calls `memcpy` for slices of unknown length. There's considerable overhead for that in some cases.\nIf you know most of you copy operations are not too big you can use `fastcpy` to speed up your program.\n\n`fastcpy` provides a faster implementation of `memcpy` for slices up to 32bytes (64bytes with `avx`).\n\nIt is designed to contain not too much assembly, so the overhead is low.\n\nAs fall back the standard `memcpy` is called\n\n## Double Copy Trick\n`fastcpy` employs a double copy trick to copy slices of length 4-32bytes (64bytes with `avx`).\nE.g. Slice of length 6 can be copied with two uncoditional copy operations.\n```\n/// [1, 2, 3, 4, 5, 6]\n/// [1, 2, 3, 4]\n///       [3, 4, 5, 6]\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpseitz%2Ffastcpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpseitz%2Ffastcpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpseitz%2Ffastcpy/lists"}