airborne12 commented on code in PR #67918:
URL: https://github.com/apache/doris/pull/67918#discussion_r4065267312


##########
be/src/storage/index/inverted/token_filter/pinyin_filter.cpp:
##########
@@ -107,6 +118,11 @@ void PinyinFilter::reset() {
     done_ = true;
     resetVariables();
     has_current_token_ = false;
+    std::vector<RuneInfo>().swap(current_runes_);

Review Comment:
   Fixed in 31450230. Reset now clears and reuses normal scratch capacity, 
while buffers above a deliberate 64 KiB high-water mark are released. The ASAN 
unit test verifies stable capacity across ordinary rows and bounded capacity 
after an oversized row.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to