Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Question about the performance of fused vector operations

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
haskell
領域
performance

調査の方向性

プロファイルで言及されている Data.Vector.Unboxed と Data.Vecor.Fusion.Util Identity (>>=) のエントリポイントから始め、map/fold の使用方法と中間結果ベクトルの保存を確認してください。報告されたコストが想定どおりかどうかを明らかにし、これらの使用パターンが融合ベクトルのパフォーマンスに与える影響を文書化できれば完了です。

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

説明

Hi,
I have profiled some of my code that is using Data.Vector.Unboxed and to my confusion the biggest cost centre is the (>>=) on Identity from Data.Vecor.Fusion.Util.
In fact, it is individually responsible for 18% of my execution time. Together with its children it is responsible for 87% of the time, which is expected because my program is basically only using Vectors. I am not familiar with the stream fusion internals of Data.Vector.

Is this performance normal?

One detail about my code: I am mostly using map/fold and I need to store a lot of intermediate result vectors in a datastructure.

主要言語
Haskell
スター
403
フォーク
146
平均マージ
1日 23時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

haskell/vector のほかの issue

haskell/vector の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

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

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