v6d-io / v6d

vineyard (v6d): an in-memory immutable data manager. (Project under CNCF, TAG-Storage)
https://v6d.io
Apache License 2.0
829 stars 122 forks source link

llm-cache: double check all usage of call-by-value of `std::vector<T>` and `std::shared_ptr<T>` #1786

Closed sighingnow closed 7 months ago

sighingnow commented 7 months ago

As these copy may become performance bottleneck.

e.g., I have noticed some usage of std::vector<int> keys as argument.