MCPcopy Create free account
hub / github.com/apache/datafusion / null_every

Method null_every

benchmarks/src/dict.rs:68–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66
67impl NullPercent {
68 pub fn null_every(self) -> Option<usize> {
69 match self {
70 NullPercent::Zero => None,
71 NullPercent::Fifteen => Some(7), // 1-in-7 ≈ 14.3 %
72 }
73 }
74}
75
76/// Fraction of `size` that becomes the number of distinct dictionary entries.

Callers 1

generate_dictFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected