{"id":19381254,"url":"https://github.com/probably-not/static-sync-pool","last_synced_at":"2026-05-16T04:06:21.616Z","repository":{"id":208048776,"uuid":"720707770","full_name":"probably-not/static-sync-pool","owner":"probably-not","description":"A wrapper around the Go Standard Library sync.Pool primitive, which ensures ensures that we keep a static amount of values in memory (unaffected by GC), while allowing us the full benefits of the sync.Pool.","archived":false,"fork":false,"pushed_at":"2023-11-22T07:35:39.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T06:32:13.604Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/probably-not.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-19T10:52:42.000Z","updated_at":"2023-11-22T07:25:33.000Z","dependencies_parsed_at":"2023-11-22T08:45:02.845Z","dependency_job_id":null,"html_url":"https://github.com/probably-not/static-sync-pool","commit_stats":null,"previous_names":["probably-not/static-sync-pool"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2Fstatic-sync-pool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2Fstatic-sync-pool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2Fstatic-sync-pool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2Fstatic-sync-pool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probably-not","download_url":"https://codeload.github.com/probably-not/static-sync-pool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240517310,"owners_count":19814177,"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-10T09:16:26.064Z","updated_at":"2026-05-16T04:06:16.577Z","avatar_url":"https://github.com/probably-not.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# static-sync-pool\n\nA wrapper around the Go Standard Library sync.Pool primitive, which ensures ensures that we keep a static amount of values in memory (unaffected by GC), while allowing us the full benefits of the sync.Pool.\n\n## Why\n\nThe Go author's are a lot smarter than me, so I don't think I could make a more performant sync.Pool (unlike other people). However, I do believe there are situations where you don't want your pool affected by GC. Somebody nerd-sniped me about this, so I built a little implementation here. We get the full capability of sync.Pool:\n\n- Concurrency Safety\n- Garbage Collection of the pool\n- Pool item reuse\n- Fast and standard\n\nWhile getting the added bonus of being able to set a certain number of values as static (i.e. not GC-able).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobably-not%2Fstatic-sync-pool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobably-not%2Fstatic-sync-pool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobably-not%2Fstatic-sync-pool/lists"}