{"id":20599067,"url":"https://github.com/awskii/splay","last_synced_at":"2026-04-22T07:33:03.842Z","repository":{"id":88565710,"uuid":"117685866","full_name":"awskii/splay","owner":"awskii","description":"Non-recursive, simple and tested splay tree","archived":false,"fork":false,"pushed_at":"2018-01-16T13:16:38.000Z","size":521,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T01:15:25.330Z","etag":null,"topics":["data-structures","datastructures","tree"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/awskii.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-16T13:16:21.000Z","updated_at":"2019-08-17T21:27:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"1aed9ae0-f7ce-4cf6-a1e9-7337a569a2e7","html_url":"https://github.com/awskii/splay","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/awskii%2Fsplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awskii%2Fsplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awskii%2Fsplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awskii%2Fsplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awskii","download_url":"https://codeload.github.com/awskii/splay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242233988,"owners_count":20094095,"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","datastructures","tree"],"created_at":"2024-11-16T08:30:49.793Z","updated_at":"2026-04-22T07:32:58.816Z","avatar_url":"https://github.com/awskii.png","language":"Go","readme":"## Intro\nSimple non-recursive realisation of a splay tree.\n\n## Import\n \"github.com/awskii/splay\"\n\n## Key\nBy default, Key has type `int`, but you can change to fit your needs.\nKey should be comparable.\n\n## Tests\n```\n$ go test -cover\n\nPASS\ncoverage: 94.6% of statements\nok  \tgithub.com/awskii/splay\t0.180s\n```\n\n## Benchmarks\n```\n$ go test -bench=. -benchmem\n\ngoos: darwin\ngoarch: amd64\npkg: github.com/awskii/splay\n\n(4 CPU)                    (Elements)       (time/op)             (memory overhead)\nBenchmarkInsertIdle-4     \t20000000\t      67.8 ns/op\t      32 B/op\t       1 allocs/op\nBenchmarkSearchIdle-4     \t50000000\t      21.2 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkInsertRandom-4   \t 1000000\t      1576 ns/op\t      32 B/op\t       1 allocs/op\nBenchmarkSearchRandom-4   \t 1000000\t      1525 ns/op\t       0 B/op\t       0 allocs/op\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawskii%2Fsplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawskii%2Fsplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawskii%2Fsplay/lists"}