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

Method eq

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

Source from the content-addressed store, hash-verified

370
371impl PartialEq for PostingListHead<'_> {
372 fn eq(&self, other: &Self) -> bool {
373 let Some(s) = self.peek() else { unreachable!() };
374
375 let Some(o) = other.peek() else {
376 unreachable!()
377 };
378
379 s.0.eq(&o.0)
380 }
381}
382
383fn get_idf(documents_count: u32, documents_containing_term: u32) -> f32 {

Callers

nothing calls this directly

Calls 1

peekMethod · 0.80

Tested by

no test coverage detected