+ hash_type hash = mc_hash_page(page);
+#ifdef MC_PAGE_STORE_MD4
+ s_mc_pages_store::pages_map_type::const_iterator i =
+ this->hash_index_.find(hash);
+ if (i!=this->hash_index_.cend()) {
+ // If a page with the same content is already in the page store it is
+ // reused and its reference count is incremented.
+ size_t pageno = i->second;
+ page_counts_[pageno]++;
+ return pageno;
+ }
+#else
+
+ // Try to find a duplicate in set of pages with the same hash: