Browse Source

perf(emqx_trie): use ordered_set

Zaiming Shi 4 năm trước cách đây
mục cha
commit
cdacaf8694
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/emqx_trie.erl

+ 1 - 0
src/emqx_trie.erl

@@ -74,6 +74,7 @@ mnesia(boot) ->
                 {ram_copies, [node()]},
                 {record_name, ?TRIE},
                 {attributes, record_info(fields, ?TRIE)},
+                {type, ordered_set},
                 {storage_properties, StoreProps}]);
 mnesia(copy) ->
     %% Copy topics table