X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=TextStorage.h;fp=TextStorage.h;h=24633fdc9109a494cf551d290c622ee67676aa25;hb=2dba1ef94915ba5c1a06c3756d6dd0333605a5f7;hp=fcd66e58f3e0dcf4915c2c870a55392a8e711e3f;hpb=1c0ccf5923b31eceae88afc64f1b4727cd488643;p=SXSI%2FTextCollection.git diff --git a/TextStorage.h b/TextStorage.h index fcd66e5..24633fd 100644 --- a/TextStorage.h +++ b/TextStorage.h @@ -104,11 +104,6 @@ protected: offsets_ = new CSA::DeltaVector(encoder, n_); - -/* for (ulong i = 0; i < n_-1; ++i) - if ((text[i] == '\0') != IsEndmarker(i)) - std::cout << "misplaced endmarker at i = " << i << std::endl; -*/ numberOfTexts_ = offsets_->rank(n_ - 1); } @@ -182,7 +177,7 @@ private: /****************************************************************** * LZ-index text collection. */ -struct LzTriePimpl; // Pimpl, declared in .cpp +struct LzTriePimpl; // Using Pimpl idiom to hide LzTrie implementation. class TextStorageLzIndex : public TextStorage { @@ -252,7 +247,7 @@ public: private: TextPosition n_; - uchar *text_; // FIXME Replace with a succinct representation. + uchar *text_; bool freeText; }; // class TextStorageBuilder