pub fn codec_for(
kind: CodecKind,
dim: usize,
metric: DistanceMetric,
rotation_seed: u64,
) -> Result<Box<dyn VectorCodec>>Expand description
Construct a codec by kind. The single entry point bindings and storage use, so adding a codec never touches consumers.