package bap-std
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=631fc58628418e4856709a0cfc923a65e00c9494fbd28d444c633d11194831de
md5=3db9deac8d429b9b8a8ec9aec54987b1
doc/bap/Bap/Std/Trie/index.html
Module Std.Trie
Constructs a trie
module type Key = sig ... endKey requirements. Key is a sequence of tokens of the specified length. It is better to use contiguous data structures, like arrays as keys, otherwise you can end up with a slow implementation (i.e., don't use lists or sequences as keys, use strings, bitstrings, arrays, etc).
Prefix trie interface.
Trie is a mutable table that can be seen as a specialized form of a hash table.
Use the Trie.Make functor to create modules that implement this signature. Some modules also provide an implementation of this signature under a Trie name, e.g., Bitvector.Trie, Bil.Trie, Insn.Trie, etc. See also a Trie.String module below, that is a specialized implementation of a trie data structure with string keys.
module V1 : sig ... endmodule V2 : sig ... endmodule type S = V1.SCreate a trie for a given Key
module type Token = sig ... endMinimum required interface for a token data type
module Array : sig ... endPrefix and suffix tries for specified token types.
module String : sig ... endPredefined prefix and suffix string tries.