pub fn calculate_custom_zstd_ratio_stats(
results: &[AnalysisResults],
comparison_index: usize,
group_index: usize,
) -> Option<Stats>
Expand description
Calculate ZSTD ratio statistics between two groups in custom comparison.
This function calculates the ZSTD compression ratio statistics between a specific group in group_metrics and the baseline metrics.
§Arguments
results
- Slice of analysis resultscomparison_index
- Index of the custom comparison to analyzegroup_index
- Index of the group within group_metrics to compare with baseline
§Returns
Optional Stats
struct containing the ratio statistics, or None
if there are no results