{"id":22683282,"url":"https://github.com/mtchavez/gotrie","last_synced_at":"2025-08-14T08:47:48.121Z","repository":{"id":143221550,"uuid":"16445637","full_name":"mtchavez/gotrie","owner":"mtchavez","description":"Trie in Go with a benchmark vs Go Map","archived":false,"fork":false,"pushed_at":"2014-02-02T00:58:44.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T15:32:49.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/mtchavez.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":"2014-02-02T00:17:45.000Z","updated_at":"2014-02-02T00:58:47.000Z","dependencies_parsed_at":"2023-03-17T04:50:56.225Z","dependency_job_id":null,"html_url":"https://github.com/mtchavez/gotrie","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/mtchavez%2Fgotrie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fgotrie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fgotrie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fgotrie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtchavez","download_url":"https://codeload.github.com/mtchavez/gotrie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200300,"owners_count":20739563,"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-12-09T21:11:28.961Z","updated_at":"2025-03-29T14:40:18.790Z","avatar_url":"https://github.com/mtchavez.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"gotrie\n======\n\nTrie in Go with a benchmark vs Go Map\n\n## Benchmark\n\n### Add\n\nAdding keys\n\n```shell\n$ go test --bench=.*Add.*\ntesting: warning: no tests to run\nPASS\nBenchmark_Add_1000\t2000000000\t         0.01 ns/op\nBenchmark_Add_10000\t2000000000\t         0.14 ns/op\nBenchmark_Add_100000\t       1\t3190024146 ns/op\nBenchmark_Add_1000000\t       1\t47723452295 ns/op\nBenchmarkMap_Add_1000\t2000000000\t         0.02 ns/op\nBenchmarkMap_Add_10000\t2000000000\t         0.02 ns/op\nBenchmarkMap_Add_100000\t2000000000\t         0.03 ns/op\nBenchmarkMap_Add_1000000\t1000000000\t         0.55 ns/op\nok  \tgithub.com/mtchavez/trie\t131.854s\n```\n\n### Find\n\nFinding existing keys\n\n```shell\n$ go test --bench=.*Find.*\ntesting: warning: no tests to run\nPASS\nBenchmark_Find_1000\t2000000000\t         0.00 ns/op\nBenchmark_Find_10000\t2000000000\t         0.01 ns/op\nBenchmark_Find_100000\t1000000000\t         0.23 ns/op\nBenchmark_Find_1000000\t       1\t6378291857 ns/op\nBenchmark_MapFind_1000\t2000000000\t         0.00 ns/op\nBenchmark_MapFind_10000\t2000000000\t         0.00 ns/op\nBenchmark_MapFind_100000\t2000000000\t         0.00 ns/op\nBenchmark_MapFind_1000000\t2000000000\t         0.06 ns/op\nok  \tgithub.com/mtchavez/trie\t102.150s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fgotrie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtchavez%2Fgotrie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fgotrie/lists"}