{"id":29675897,"url":"https://github.com/oxidecomputer/poptrie","last_synced_at":"2026-03-06T05:45:22.550Z","repository":{"id":186060523,"uuid":"663351397","full_name":"oxidecomputer/poptrie","owner":"oxidecomputer","description":"A poptrie implementation","archived":false,"fork":false,"pushed_at":"2024-01-04T04:03:08.000Z","size":18,"stargazers_count":18,"open_issues_count":1,"forks_count":1,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-02-10T00:58:01.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oxidecomputer.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,"governance":null}},"created_at":"2023-07-07T05:33:04.000Z","updated_at":"2025-02-08T01:52:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f6e5d24-1595-4f8a-8e58-806002af1319","html_url":"https://github.com/oxidecomputer/poptrie","commit_stats":null,"previous_names":["oxidecomputer/poptrie"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oxidecomputer/poptrie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxidecomputer%2Fpoptrie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxidecomputer%2Fpoptrie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxidecomputer%2Fpoptrie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxidecomputer%2Fpoptrie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oxidecomputer","download_url":"https://codeload.github.com/oxidecomputer/poptrie/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxidecomputer%2Fpoptrie/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266591236,"owners_count":23953082,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2025-07-22T23:39:01.434Z","updated_at":"2026-03-06T05:45:22.535Z","avatar_url":"https://github.com/oxidecomputer.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Poptrie\n\nA poptrie is a data structure and set of algorithms for performing longest\nprefix match of an IP address over a set of IP prefixes. Its primary use is\nimplementing routing tables.\n\nPoptrie was created by Asai and Ohara in:\n\n\u003e Asai, Hirochika, and Yasuhiro Ohara. \"Poptrie: A compressed trie with\n\u003e population count for fast and scalable software IP routing table lookup.\"\n\u003e ACM SIGCOMM Computer Communication Review 45.4 (2015): 57-70.\n\nThis is a dependency free `no_std` implementation to facilitate use in OS\nkernels.\n\nPerformance analysis versus a naive LPM table is the following for a single\nlookup. The naive lookup scales linearly and quickly exceeds the realm of\nacceptable performance for data plane networking while the poptrie has near\nconstant scaling.\n\n```\n┌────────┬─────────┬────────┬─────────┐\n│ Routes │ Poptrie │ Naive  │ Speedup │\n├────────┼─────────┼────────┼─────────┤\n│ 100    │ 5.9 ns  │ 426 ns │ 72x     │\n├────────┼─────────┼────────┼─────────┤\n│ 1,000  │ 5.9 ns  │ 4.9 µs │ 830x    │\n├────────┼─────────┼────────┼─────────┤\n│ 10,000 │ 10.3 ns │ 32 µs  │ 3,100x  │\n└────────┴─────────┴────────┴─────────┘\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxidecomputer%2Fpoptrie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxidecomputer%2Fpoptrie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxidecomputer%2Fpoptrie/lists"}