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

Data.Sequence sort functions should be able to inline to eliminate unknown calls.

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
32/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
haskell
領域
performance

調査の方向性

Data.Sequence の popMinQ、sort、sortBy の実装と、関連する安定ソート関数をすべて読みます。それらのコンパイラ unfoldings が比較呼び出しにどのような影響を与えるかを調査し、完成した変更によって報告された unknown calls が、ソートの動作やパフォーマンスを悪化させることなく解消されることを確認します。

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

説明

performance Seq

I'm looking at containers for container-unrelated reasons.

I noticed that some of the sort-related functions (e.g. popMinQ) don't have unfoldings available.
This means all comparisons will have to be made by performing unknown calls - yikes.

This extends from popMinQ to sort, sortBy at least (and perhaps all the stable sorts).

Now popMinQ isn'T small at all at ~400 terms. But I imagine for most use cases it would be beneficial to inline this in order to eliminate the unknown call.

I'm not sure how to best achieve this, but it seems reasonable to me.

主要言語
Haskell
スター
355
フォーク
194
平均マージ
3日 4時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

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

haskell/containers のほかの issue

haskell/containers の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

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

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