{"id":19808725,"url":"https://github.com/lurado/ldocappedqueue","last_synced_at":"2026-05-09T05:35:14.663Z","repository":{"id":56918323,"uuid":"71290561","full_name":"lurado/LDOCappedQueue","owner":"lurado","description":"A queue that doesn't grow indefinitely.","archived":false,"fork":false,"pushed_at":"2016-10-24T12:02:07.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-05T15:47:06.176Z","etag":null,"topics":["data-structures","ios","macos","objective-c"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/lurado.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}},"created_at":"2016-10-18T20:55:32.000Z","updated_at":"2018-09-04T11:11:49.000Z","dependencies_parsed_at":"2022-08-21T03:50:54.041Z","dependency_job_id":null,"html_url":"https://github.com/lurado/LDOCappedQueue","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/lurado/LDOCappedQueue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lurado%2FLDOCappedQueue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lurado%2FLDOCappedQueue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lurado%2FLDOCappedQueue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lurado%2FLDOCappedQueue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lurado","download_url":"https://codeload.github.com/lurado/LDOCappedQueue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lurado%2FLDOCappedQueue/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270005591,"owners_count":24510939,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["data-structures","ios","macos","objective-c"],"created_at":"2024-11-12T09:14:37.745Z","updated_at":"2026-05-09T05:35:14.618Z","avatar_url":"https://github.com/lurado.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LDOCappedQueue\n\nA queue that only holds a maximum number of items and discards the least recently added ones, if new ones are added and the capacity is reached.  \n\nIt's a relatively thin wrapper around `NSMutableArray`, which is implemented as a circular buffer [according to this blog post by Bartosz Ciechanowski](http://ciechanowski.me/blog/2014/03/05/exposing-nsmutablearray/)). Therefore enqueueing and dequeueing are O(1) operations.\n\nThe implementation is not thread safe.\n\n## Installation\n\nLDOCappedQueue is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"LDOCappedQueue\"\n```\n\n## Author\n\nJulian Raschke und Sebastian Ludwig GbR, https://www.lurado.com\n\n## License\n\nLDOCappedQueue is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flurado%2Fldocappedqueue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flurado%2Fldocappedqueue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flurado%2Fldocappedqueue/lists"}