radix_tree 2.0.1 copy "radix_tree: ^2.0.1" to clipboard
radix_tree: ^2.0.1 copied to clipboard

Map based Dart implementation of the Radix Tree data structure.

Radix Tree #

Pub Package Test Status CodeCov

Map based Dart implementation of the Radix Tree data structure. A radix tree maps strings to values, allowing efficient string lookup and prefix queries.

Based on radix-tree.

Usage #

A simple usage example:

import 'package:radix_tree/radix_tree.dart';

void main(List<String> arguments) {
  var tree = RadixTree<int>();
  tree['paku'] = 1;
  tree['piku'] = 2;
  tree['pako'] = 3;
  tree.getValuesWithPrefix('p'); // list contains 1, 2, 3
  tree.getValuesWithPrefix('pa'); // list contains 1, 3
}

License #

This project is licensed under the MIT license.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

4
likes
140
pub points
49%
popularity

Publisher

unverified uploader

Map based Dart implementation of the Radix Tree data structure.

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (LICENSE)

Dependencies

meta

More

Packages that depend on radix_tree