{"id":15479571,"url":"https://github.com/craig-day/linked_map","last_synced_at":"2025-03-28T14:16:58.824Z","repository":{"id":93192310,"uuid":"334246077","full_name":"craig-day/linked_map","owner":"craig-day","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-01T22:18:34.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-19T04:11:03.951Z","etag":null,"topics":["data-structures","elixir","ordered-collections","ordered-map"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/linked_map","language":"Elixir","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/craig-day.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-01-29T19:41:32.000Z","updated_at":"2021-02-01T22:18:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f61064b-d4ca-4797-9594-932119396974","html_url":"https://github.com/craig-day/linked_map","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":0.07692307692307687,"last_synced_commit":"f9911137a29068f89f76b2a8ecce541e4fcd62b8"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craig-day%2Flinked_map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craig-day%2Flinked_map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craig-day%2Flinked_map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craig-day%2Flinked_map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/craig-day","download_url":"https://codeload.github.com/craig-day/linked_map/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246042016,"owners_count":20714148,"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-structures","elixir","ordered-collections","ordered-map"],"created_at":"2024-10-02T04:21:55.414Z","updated_at":"2025-03-28T14:16:58.796Z","avatar_url":"https://github.com/craig-day.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LinkedMap\n\nA LinkedMap is a order-aware collection with the following properties:\n\n  - A `head` pointer\n  - A `tail` pointer\n  - A collection of `items` that can be added to, removed from, and traversed\n    in either direction\n\nI built this to have a collection I can traverse in either direction, but also\nbe able to remove items in less-than-linear time. I also didn't want something\nthat needed to be sorted or rebalanced after each addition or removal.\n\nThis uses Elixir's [`Map`](https://hexdocs.pm/elixir/Map.html) underneath, so\nremoving arbitrary items can happen in logarithmic time, rather than linear\ntime that most sorted collections incur.\n\n## Installation\n\nAdd `linked_map` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:linked_map, \"~\u003e 0.2.0\"}\n  ]\nend\n```\n\n## Usage\n\nSee the [documentation](https://hexdocs.pm/linked_map) for API reference and examples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraig-day%2Flinked_map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcraig-day%2Flinked_map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraig-day%2Flinked_map/lists"}