ahh no! we cannot afford a dense matrix here. Just imagine your hash being 40bit or so and you have millions of documents. You directly have to create the sparse feature matrix structure.