{"id":15373062,"url":"https://github.com/vi/compactmap","last_synced_at":"2025-04-15T14:13:38.321Z","repository":{"id":57609315,"uuid":"47157982","full_name":"vi/compactmap","owner":"vi","description":"CompactMap data structure for Rust","archived":false,"fork":false,"pushed_at":"2018-01-10T00:13:44.000Z","size":89,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-15T14:13:33.552Z","etag":null,"topics":["data-structure","map","rust","slab"],"latest_commit_sha":null,"homepage":"https://docs.rs/compactmap/","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/vi.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}},"created_at":"2015-12-01T01:47:29.000Z","updated_at":"2024-01-07T11:06:57.000Z","dependencies_parsed_at":"2022-08-27T10:41:29.827Z","dependency_job_id":null,"html_url":"https://github.com/vi/compactmap","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fcompactmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fcompactmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fcompactmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fcompactmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vi","download_url":"https://codeload.github.com/vi/compactmap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249085429,"owners_count":21210267,"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":["data-structure","map","rust","slab"],"created_at":"2024-10-01T13:54:12.258Z","updated_at":"2025-04-15T14:13:38.297Z","avatar_url":"https://github.com/vi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Compactmap - Vec-based map that uses usize as key type and maintains internal linked list for removed nodes.\n\nYou don't choose the key when inserting a new value. You can remove any entry.\n\nBased on [this post](https://play.rust-lang.org/?gist=599f79559d6f18cc0266\u0026version=stable) by [eddyb](https://github.com/eddyb).\n\nThe function and structure of CompactMap is almost the same as [Slab](https://docs.rs/slab) apart from missing cached length and more features. If I knew about Slab earlier, CompactMap wouldn't have appeared.\n\nTODO:\n\n* More thorough tests\n* Entry (is it really needed?)\n\nLicense is MIT or Apache, like for Rust itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Fcompactmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvi%2Fcompactmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Fcompactmap/lists"}