reduce memory footprint and plotting efficiancy: default to f32 plotting

オープン
#134 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

  • #135 @cguentherTUChemnitz による — マージされずにクローズ

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust

調査の方向性

まず、PlotPoint と plot state に保存されているその他のデータを、plotting と rendering-backend の経路を通じて追跡します。関連する issue #18 を読み、f64 が選ばれた理由を調査します。完了とは、スコープ、デフォルトの精度、およびそれによるメモリとパフォーマンスへの影響が確立され、一貫して対処されている状態を意味します。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Rust
スター
494
フォーク
110
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

emilk/egui_plot のほかの issue

emilk/egui_plot の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。