class Kachet::PrefixTree(T)

Defined in:

kachet/prefixtree.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(words_with_payload : Array(Tuple(String, T))) #

[View source]

Instance Method Detail

def lookup(node_id, offset, ch) : NamedTuple(child_id: Int32, is_final: Bool, payload: T | Nil) | Nil #

[View source]