MCPcopy Create free account
hub / github.com/cosdata/cosdata / cmp

Method cmp

src/models/sparse_ann_query.rs:41–43  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

39
40impl Ord for SparseAnnResult {
41 fn cmp(&self, other: &Self) -> Ordering {
42 other.similarity.cmp(&self.similarity)
43 }
44}
45
46impl PartialOrd for SparseAnnIDFResult {

Callers 3

partial_cmpMethod · 0.45
sequential_searchMethod · 0.45
usv_searchMethod · 0.45

Calls 1

peekMethod · 0.80

Tested by

no test coverage detected