Optimisations

This commit is contained in:
Andras Schmelczer 2026-02-01 21:00:59 +00:00
parent 66c2a25457
commit 9179acd4cd
21 changed files with 653 additions and 139 deletions

View file

@ -3,7 +3,7 @@
pub enum Bounds {
/// Fixed min/max values for the slider
Fixed { min: f64, max: f64 },
Fixed { min: f32, max: f32 },
/// Compute percentile from data at startup
Percentile { low: f64, high: f64 },
}
@ -13,7 +13,7 @@ pub struct FeatureConfig {
pub name: &'static str,
pub bounds: Bounds,
/// Slider step size. Controls the granularity of the range slider in the UI.
pub step: f64,
pub step: f32,
/// Short one-line description shown in the filter sidebar
pub description: &'static str,
/// Longer description explaining methodology, data source, and caveats