{"id":17272875,"url":"https://github.com/tomusdrw/sortedlist","last_synced_at":"2025-07-30T10:31:23.017Z","repository":{"id":1970645,"uuid":"2901798","full_name":"tomusdrw/SortedList","owner":"tomusdrw","description":"Fast priority queue implementation for JavaScript (fast: min/max, logarithmic: insert, contains)","archived":false,"fork":false,"pushed_at":"2011-12-10T16:17:45.000Z","size":124,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-16T08:49:44.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/tomusdrw.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":"2011-12-02T21:58:56.000Z","updated_at":"2022-07-13T08:24:48.000Z","dependencies_parsed_at":"2022-09-09T09:40:37.850Z","dependency_job_id":null,"html_url":"https://github.com/tomusdrw/SortedList","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomusdrw%2FSortedList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomusdrw%2FSortedList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomusdrw%2FSortedList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomusdrw%2FSortedList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomusdrw","download_url":"https://codeload.github.com/tomusdrw/SortedList/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228121223,"owners_count":17872735,"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-10-15T08:49:41.536Z","updated_at":"2024-12-04T13:42:22.322Z","avatar_url":"https://github.com/tomusdrw.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"SortedList implementation for JavaScript based on array and mostly native array functions.\nThere is a possiblity to specify your own comparator - default comparator works well for Numbers and Strings.\n\nComplexity of functions (without `splice` complexity):\n\n* **peekMin/popMin** `O(1)`\n* **peekMax/popMax** `O(1)`\n* **size**           `O(1)`\n* **isEmpty**        `O(1)`\n* **pushAll(k)**     `O(k*log(n))`\n* **push**           `O(log(n))`\n* **contains**       `O(log(n))`\n* **remove**         `O(log(n))`\n* **getArray**       `O(1)`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomusdrw%2Fsortedlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomusdrw%2Fsortedlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomusdrw%2Fsortedlist/lists"}