Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
darts.h
✓ #include <darts.h>
Build a double-array trie and perform exact match search
#include "darts.h"
#include <iostream>
int main() {
Darts::DoubleArray da;
// Build from keys and values
std::vector<const char*> keys = {"hello", "world"};
std::size_t len[2] = {5, 5};
da.build(keys.size(), keys.data(), len, nullptr);
// Exact match search
Darts::result_type result;
da.exactMatchSearch("hello", result);
std::cout << "Found at index: " << result << std::endl;
return 0;
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1767ab87cffelatest on vcpkg
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.