From d8946dbedd455c849c260c149039eeefd63bbfd4 Mon Sep 17 00:00:00 2001 From: 54liuyao <54liuyao> Date: Wed, 24 Apr 2024 17:33:39 +0800 Subject: [PATCH] opt bloom filter --- include/util/thash.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/util/thash.h b/include/util/thash.h index 5dec175a38..c6275d276c 100644 --- a/include/util/thash.h +++ b/include/util/thash.h @@ -180,6 +180,13 @@ void taosHashCancelIterate(SHashObj *pHashObj, void *p); */ void *taosHashGetKey(void *data, size_t *keyLen); +/** + * Get the corresponding value length for a given data in hash table + * @param data + * @return + */ +int32_t taosHashGetValueSize(void *data); + /** * return the payload data with the specified key(reference number added) * @@ -215,13 +222,6 @@ void taosHashSetFreeFp(SHashObj *pHashObj, _hash_free_fn_t fp); int64_t taosHashGetCompTimes(SHashObj *pHashObj); -/** - * Get the corresponding value length for a given data in hash table - * @param data - * @return - */ -int32_t taosHashGetValueSize(void *data); - #ifdef __cplusplus } #endif