trie

Version, currently master branch1 version
  • master branchlatestJun 26, 2025

github.com/petter-petersson/search-trie

A trie written in Crystal

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  trie:
    github: petter-petersson/search-trie
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.14.0
License
MIT
Author
Petter Peterson

Dependencies

Runtime Dependencies

  • bk-tree*path: ../bk-tree

README

trie

Work in progress

(Current) test file author: https://github.com/martinlindhe/wordlist_swedish

crystal spec <specfile> crystal build --release src/server.cr

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      trie:
        github: petter-petersson/trie
  2. Run shards install

Usage

build and run the test server: crystal build --release src/server.cr && ./server

run the test client: ruby client.rb

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/your-github-user/trie/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors