Optimization of co-occurrence matrix construction.
Optimization of co-occurrence matrix construction.

Use a vector of unordered maps to represent the matrix. Use single
instead of double precision for this representation to save memory.
This results in lower memory usage and around a 50% speedup.

maciejkula/glove-python,ChristosChristofidis/glove-python,joshloyal/glove-python,escherba/glove-python