milvus/internal
congqixia 898606ae4c
enhance: [2.5] Avoid stringtoslicebytes copy for BatchPKExists (#40097)
Cherry-pick from master
pr: #40096 
Using unsafe.Slice to convert string to []byte by directly using
underlying data could avoid lots of copy and cpu time

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-02-21 21:41:21 +08:00
..