emilk / emilk/egui_plot

reduce memory footprint and plotting efficiancy: default to f32 plotting

Open
#134 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
468
Forks
108
Avg merge
15m
Merged PRs (30d)
3

Description

I am quite surprised that PlotPoint and other data is stored as f64 inside the plot state. The majority of plotting and rendering backends default to single precision f32, especially when rendering with gpu backends. Nevertheless i am quite curious where the decision came from to go for f64 here instead?

Since it is beneficial for memory-consumption and performance, especially when rendering alot of primitives i would suggest that the default precision is more reasonable for a single precision setup.

also related to:
#18

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.