milvus/pkg
congqixia 8a6e1a4b27
enhance: pre-allocate result FieldData space to reduce copy & growslice (#29726)
See also: #29113

Add a new utitliy function in `pkg/util/typetuil` to pre-allocate field
data slice capacity acoording to search limit. This shall avoid copying
the data during `AppendFieldData` when previous slice is out of space.
And shall also save CPU time during high paylog.

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-01-09 15:48:55 +08:00
..
common enhance: add new optimize param for queryhook (#29495) 2023-12-28 10:04:46 +08:00
config enhance: add param for bloomfilter(#29388) (#29490) 2023-12-28 18:10:46 +08:00
eventlog Remove deprecated io/ioutil usage (#27747) 2023-10-17 20:32:09 +08:00
log fix: log can not reduce level (#28750) 2023-11-28 10:02:27 +08:00
metrics feat: Support multiple vector search (#29433) 2024-01-08 15:34:48 +08:00
mq enhance:change some logs (#29579) 2024-01-05 16:12:48 +08:00
tracer enhance: Support otlp with insecure (#29115) 2023-12-12 11:14:37 +08:00
util enhance: pre-allocate result FieldData space to reduce copy & growslice (#29726) 2024-01-09 15:48:55 +08:00
Makefile Add the mock factory of msg stream (#27834) 2023-10-20 20:14:08 +08:00
go.mod Refine delete by expression for forbid proxy dml task scheduler hang (#29340) 2023-12-26 19:52:48 +08:00
go.sum Refine delete by expression for forbid proxy dml task scheduler hang (#29340) 2023-12-26 19:52:48 +08:00
rules.go Add back `gocritic` linter and fix related issues (#27289) 2023-09-22 10:05:26 +08:00