[Groonga-commit] groonga/grnxx at 258601d [master] Change the internal type of grnxx::Array<bool> to uint64_t.

アーカイブの一覧に戻る

susumu.yata null+****@clear*****
Tue May 28 16:37:25 JST 2013


susumu.yata	2013-05-28 16:37:25 +0900 (Tue, 28 May 2013)

  New Revision: 258601de00c4c1b47329e6c15894bb70941b059a
  https://github.com/groonga/grnxx/commit/258601de00c4c1b47329e6c15894bb70941b059a

  Message:
    Change the internal type of grnxx::Array<bool> to uint64_t.

  Modified files:
    lib/grnxx/array.hpp

  Modified: lib/grnxx/array.hpp (+1 -1)
===================================================================
--- lib/grnxx/array.hpp    2013-05-28 16:35:46 +0900 (757467b)
+++ lib/grnxx/array.hpp    2013-05-28 16:37:25 +0900 (fae634c)
@@ -470,7 +470,7 @@ template <uint64_t PAGE_SIZE_IN_BITS,
 class Array<bool, PAGE_SIZE_IN_BITS, TABLE_SIZE, SECONDARY_TABLE_SIZE> {
  public:
   // Internal type to store bits.
-  using Unit = uint8_t;
+  using Unit = uint64_t;
 
  private:
   static constexpr uint64_t UNIT_SIZE = sizeof(Unit) * 8;
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る