#tree #boolean #event-filtering

a-tree

A dynamic data structure for efficiently indexing arbitrary boolean expressions

3 releases (breaking)

new 0.3.0 Dec 20, 2024
0.2.0 Dec 18, 2024
0.1.0 Dec 16, 2024

#498 in Data structures

Download history 187/week @ 2024-12-13

187 downloads per month

MIT/Apache

190KB
4.5K SLoC

a-tree

Rust Latest version Documentation Code Coverage

This is a work-in-progress implementation of the A-Tree: A Dynamic Data Structure for Efficiently Indexing Arbitrary Boolean Expressions paper.

The A-Tree data structure is used to evaluate a large amount of boolean expressions as fast as possible. To achieve this, the data structure tries to reuse the intermediary nodes of the incoming expressions to minimize the amount of expressions that have to be evaluated.

See Also

Dependencies

~5.5–8.5MB
~124K SLoC