Iterating over documents and hashing words is almost an order of magnitude slower.
What can we do:
- the hash function used for hashing trick and also for matrices initialization should be written in Cython/C (but also the fastest hash functions seem slow)
Iterating over documents and hashing words is almost an order of magnitude slower.
What can we do: