Implementation hack.
It is also common to use a sparser representation to first identify those documents with nonzero match with a query, rather than exhaustively checking every document.