susumu.yata
null+****@clear*****
Tue May 28 17:54:27 JST 2013
susumu.yata 2013-05-28 17:54:27 +0900 (Tue, 28 May 2013) New Revision: ed325a8046100003c41c26d870792a0ea1b704cf https://github.com/groonga/grnxx/commit/ed325a8046100003c41c26d870792a0ea1b704cf Message: Update grnxx::map::ArrayMap to use grnxx::BitArray. Modified files: lib/grnxx/map/array_map.hpp Modified: lib/grnxx/map/array_map.hpp (+2 -1) =================================================================== --- lib/grnxx/map/array_map.hpp 2013-05-28 17:51:59 +0900 (daed526) +++ lib/grnxx/map/array_map.hpp 2013-05-28 17:54:27 +0900 (6dc1b18) @@ -21,6 +21,7 @@ #include "grnxx/features.hpp" #include "grnxx/array.hpp" +#include "grnxx/bit_array.hpp" #include "grnxx/map.hpp" #include "grnxx/types.hpp" @@ -70,7 +71,7 @@ class ArrayMap : public Map<T> { Storage *storage_; uint32_t storage_node_id_; ArrayMapHeader *header_; - Array<bool> bitmap_; + BitArray<> bitmap_; Array<T> keys_; bool create_map(Storage *storage, uint32_t storage_node_id, -------------- next part -------------- HTML����������������������������...Download