{"id":43053167,"url":"https://github.com/mrogaski/ternarytree","last_synced_at":"2026-01-31T10:38:42.978Z","repository":{"id":57587668,"uuid":"172828861","full_name":"mrogaski/ternarytree","owner":"mrogaski","description":"A ternary search tree implementation in Go.","archived":false,"fork":false,"pushed_at":"2019-03-03T07:10:42.000Z","size":38,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-06-20T15:58:38.508Z","etag":null,"topics":["go","golang","ternary-search-tree","trie-structure"],"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/mrogaski.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-02-27T02:36:00.000Z","updated_at":"2024-06-20T15:58:38.509Z","dependencies_parsed_at":"2022-09-26T19:41:57.060Z","dependency_job_id":null,"html_url":"https://github.com/mrogaski/ternarytree","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mrogaski/ternarytree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrogaski%2Fternarytree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrogaski%2Fternarytree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrogaski%2Fternarytree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrogaski%2Fternarytree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrogaski","download_url":"https://codeload.github.com/mrogaski/ternarytree/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrogaski%2Fternarytree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28938866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T10:18:23.202Z","status":"ssl_error","status_checked_at":"2026-01-31T10:18:22.693Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","golang","ternary-search-tree","trie-structure"],"created_at":"2026-01-31T10:38:42.926Z","updated_at":"2026-01-31T10:38:42.970Z","avatar_url":"https://github.com/mrogaski.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ternarytree\n\n[![Build Status](https://travis-ci.org/mrogaski/ternarytree.svg?branch=develop)](https://travis-ci.org/mrogaski/ternarytree) \n[![codecov](https://img.shields.io/codecov/c/github/mrogaski/ternarytree/develop.svg)](https://codecov.io/gh/mrogaski/ternarytree)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b2e5ab1be1e047a3ae2c5a00c0fcfa96)](https://www.codacy.com/app/mrogaski/ternarytree?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=mrogaski/ternarytree\u0026amp;utm_campaign=Badge_Grade)\n[![Go Report Card](https://goreportcard.com/badge/github.com/mrogaski/ternarytree?style=flat)](https://goreportcard.com/report/github.com/mrogaski/ternarytree)\n[![GoDoc](https://godoc.org/github.com/mrogaski/ternarytree?status.svg)](https://godoc.org/github.com/mrogaski/ternarytree)\n[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat)](https://raw.githubusercontent.com/mrogaski/ternarytree/master/LICENSE)\n\nA Go implementation of ternary search trees as described by Jon Bentley and Robert Sedgewick.\n  \nTernary search trees are interesting data structures that provide a means of storing and accessing\nstrings.  They combine the time efficiency of digital tries with the space efficiency of binary search trees.\nUnlike a hash, they also maintain information about relative order.\n\n## Installation\n\nTo install ternarytree package, you need to install Go and set your Go workspace first.\n\n1. Download and install it:\n\n```sh\n$ go get -u github.com/mrogaski/ternarytree\n```\n\n2. Import it in your code:\n\n```go\nimport \"github.com/mrogaski/ternarytree\"\n```\n\n## References\n\n- Bentley, Jon and Sedgewick, Robert.  \"Ternary Search Trees\".  Dr. Dobb's\n  Journal, April 1998. http://www.drdobbs.com/database/ternary-search-trees/184410528\n\n- Bentley, Jon and Sedgewick, Robert.  \"Fast Algorithms for Sorting and\n  Searching Strings\".  Eighth Annual ACM-SIAM Symposium on Discrete Algorithms\n  New Orleans, January, 1997.  http://www.cs.princeton.edu/~rs/strings/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrogaski%2Fternarytree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrogaski%2Fternarytree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrogaski%2Fternarytree/lists"}