{"id":26959049,"url":"https://github.com/xzripper/dheap","last_synced_at":"2026-01-31T18:32:53.315Z","repository":{"id":283191884,"uuid":"950981529","full_name":"xzripper/DHeap","owner":"xzripper","description":"More stable and modern alternative to D's BinaryHeap, with small performance trade-offs.","archived":false,"fork":false,"pushed_at":"2025-04-14T21:08:02.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T13:50:58.489Z","etag":null,"topics":["binaryheap","binaryheap-array","d","heap","heapq","modernized","utility"],"latest_commit_sha":null,"homepage":"https://github.com/xzripper/DHeap","language":"D","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/xzripper.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,"zenodo":null}},"created_at":"2025-03-19T01:31:40.000Z","updated_at":"2025-04-14T21:00:02.000Z","dependencies_parsed_at":"2025-03-19T02:32:53.943Z","dependency_job_id":"90cc019e-4e79-47f6-ac6f-ff8d4c2b9fbb","html_url":"https://github.com/xzripper/DHeap","commit_stats":null,"previous_names":["xzripper/dheap"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/xzripper/DHeap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzripper%2FDHeap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzripper%2FDHeap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzripper%2FDHeap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzripper%2FDHeap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xzripper","download_url":"https://codeload.github.com/xzripper/DHeap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzripper%2FDHeap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28949416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["binaryheap","binaryheap-array","d","heap","heapq","modernized","utility"],"created_at":"2025-04-03T04:34:12.818Z","updated_at":"2026-01-31T18:32:53.293Z","avatar_url":"https://github.com/xzripper.png","language":"D","readme":"# DHeap\nMore stable and modern alternative to D's BinaryHeap, with small performance trade-offs.\n\n```d\nimport DHeap.Heap;\n\nHeap!int heap = Heap!int([1, 3, 2, 4, 6, 5, 7, 9, 8, 10], HeapType.MIN_HEAP); // MinHeap initialized. Values are automatically heapified.\n\nheap.HeapPush(0); // Push zero to the heap. Automatically sifts the heap.\nheap.HeapFront(); // Get heap front object. Returns zero as long as we have MIN_HEAP as a heap type.\nheap.HeapPop(); // Pop the front object of the heap. Returns the front object before popping the object. Returns 0.\nheap.Empty(); // Or heap.Empty (works as a @property). Check is the heap empty.\nheap.Size(); // Or heap.Size (works as a @property). Get the heap size/length.\n\n// Iterable via foreach!\nforeach(int num; heap) { /** Some work to do... */ }\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxzripper%2Fdheap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxzripper%2Fdheap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxzripper%2Fdheap/lists"}