creswick / chatter

A library of Natural Language Processing algorithms for Haskell.
Other
73 stars 24 forks source link

Performance optimisation in VectorSim #29

Closed dgaw closed 7 years ago

dgaw commented 7 years ago

About 25% speed improvement in vector similarity (tvSim) calls by replacing Data.Set with Data.HashSet in the dot product implementation.

creswick commented 7 years ago

Thanks! I'll get that in the next release (0.9.0.2, I think)

dgaw commented 7 years ago

Sounds good. Thanks!