From 4348feb8fb388d8e3eb7be84f14c673623fb0c01 Mon Sep 17 00:00:00 2001 From: liulx20 <519459125@qq.com> Date: Tue, 20 Feb 2024 21:14:49 +0800 Subject: [PATCH] add comment --- flex/utils/pthash_utils/encoders_view.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flex/utils/pthash_utils/encoders_view.h b/flex/utils/pthash_utils/encoders_view.h index 5653a1cb617a..2c4d3df6283e 100644 --- a/flex/utils/pthash_utils/encoders_view.h +++ b/flex/utils/pthash_utils/encoders_view.h @@ -21,6 +21,8 @@ namespace gs { +// This code is an adaptation from +// https://github.com/jermp/pthash/blob/master/include/encoders/encoders.hpp struct dictionary_view { size_t size() const { return m_ranks.size(); } uint64_t access(uint64_t i) const {