{"id":26606864,"url":"https://github.com/charlang/universal-red-black-tree","last_synced_at":"2025-03-23T22:23:48.226Z","repository":{"id":35031277,"uuid":"198400708","full_name":"Charlang/universal-red-black-tree","owner":"Charlang","description":"Universal js which implement red black tree","archived":false,"fork":false,"pushed_at":"2022-02-12T10:12:41.000Z","size":87,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-23T02:33:34.845Z","etag":null,"topics":["typescript","universal-javascript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Charlang.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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-07-23T09:43:56.000Z","updated_at":"2020-04-12T04:34:09.000Z","dependencies_parsed_at":"2022-08-08T04:00:55.680Z","dependency_job_id":null,"html_url":"https://github.com/Charlang/universal-red-black-tree","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/Charlang%2Funiversal-red-black-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charlang%2Funiversal-red-black-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charlang%2Funiversal-red-black-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charlang%2Funiversal-red-black-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Charlang","download_url":"https://codeload.github.com/Charlang/universal-red-black-tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245176697,"owners_count":20572982,"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":["typescript","universal-javascript"],"created_at":"2025-03-23T22:23:47.587Z","updated_at":"2025-03-23T22:23:48.217Z","avatar_url":"https://github.com/Charlang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# universal-red-black-tree\n\nUniversal js which implement red black tree\n\n## Up and Run\n\n```yarn add universal-red-black-tree```\n\nor\n\n```npm i universal-red-black-tree```\n\n## Interface\n\n  Could be found in the type defines, with apis: ```insert / insertKey / search / deleteNode / minimum / maximum```.\n\n## Highlight\n\n  Use typescript\n\n  No external dependency\n\n  Tiny\n\n## Benchmark testing\n\n  System config:\n\n    process: 2.6 GHz Intel Core i7\n    Memory: 32 GB 2400 MHz DDR4\n\n  config node with max memory ```--max-old-space-size=8192```\n  \n  Below are testing result by use [benchmark test file](./src/benchmark/index.ts)\n\n```json\n  🚀👇🏻 Start build tree with 100000000 nodes ...\n  ✅🎊 Finished build tree in [30077] milliseconds.\n  Memory Usage: {\"rss\":6575562752,\"heapTotal\":6548602880,\"heapUsed\":6403859088,\"external\":8272}\n  ✨  Done in 30.77s.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlang%2Funiversal-red-black-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlang%2Funiversal-red-black-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlang%2Funiversal-red-black-tree/lists"}