X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8465282253954c58d16cb5dae9a5d064eada3329..30a8caef3dfc5c6b5e39a3fbbd6bb110d8036486:/src/mc/PageStore.hpp diff --git a/src/mc/PageStore.hpp b/src/mc/PageStore.hpp index f1d84d3396..9296a324a7 100644 --- a/src/mc/PageStore.hpp +++ b/src/mc/PageStore.hpp @@ -78,24 +78,13 @@ namespace mc { */ class PageStore { public: // Types -#ifdef MC_PAGE_STORE_MD4 - typedef boost::array hash_type; -#else typedef uint64_t hash_type; -#endif private: // Types -#ifdef MC_PAGE_STORE_MD4 - // We are using a secure hash to identify a page. - // We assume there will not be any collision: we need to map a hash - // to a single page index. - typedef boost::unordered_map pages_map_type; -#else // We are using a cheap hash to index a page. // We should expect collision and we need to associate multiple page indices // to the same hash. typedef boost::unordered_set page_set_type; typedef boost::unordered_map pages_map_type; -#endif private: // Fields: /** First page