singnet / das

1 stars 0 forks source link

PoC - Create a wrapper to HandleTrie in python #79

Closed andre-senna closed 1 month ago

andre-senna commented 2 months ago

EPIC

HandleTrie is a class implemented in C++ here: https://github.com/singnet/das-attention-broker/blob/master/src/attention_broker_server/HandleTrie.h

It's basically a hashmap to map from atom's handle (MD5 hash string) to a generic object.

We want to build a wrapper to this class in python in such a way that when the python class is instantiated, it uses the C++ implementation. In this case, the hashmap will map from handle -> Dict[str, any]

The result of the PoC is a report comparing performance of: