opencog / atomspace

The OpenCog (hyper-)graph database and graph rewriting system
https://wiki.opencog.org/w/AtomSpace
Other
795 stars 225 forks source link

For large AtomSpaces, std::set is furiously slow. #3024

Closed linas closed 1 year ago

linas commented 1 year ago

For 30 million atoms, this can take many many seconds.

Use std::unordered_set instead -- its hash-table based.