Skip to content

A very basic implementation of a radix trie using Rust.

Notifications You must be signed in to change notification settings

jean553/rust-radix-trie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

rust-radix-trie

Usage example

let mut trie = RadixTrie::new("salt");
trie.insert("same");

trie.exists("sam"); // true
trie.exists("salted"); // false

Implemented features

  • Insertion with node key modification
  • Insertion with new nodes creation
  • Insertion with children nodes move if necessary
  • Recursive browsing until the appropriate insertion node is found
  • Check if a key exists

Development

Create the container

vagrant up

Connect to the container

vagrant ssh

Unit tests

cargo test

About

A very basic implementation of a radix trie using Rust.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages