Document (or fix) stack safety issues

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
24/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
領域
backend, testing

調査の方向性

The issue names sort, nubEq, and nub, and points to #192 and #179 for related work. Start by reading those issues and checking the functions’ stack-safety behavior, then assess whether tests can cover each function and whether the suggested V8 stack-size setting helps them run faster. Done means documenting or fixing the identified cases and establishing stack-safety tests; the issue does not specify which outcome to prioritize.

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

説明

type: enhancement

Some example of existing stack-unsafe functions:

  • sort - reported in #192
  • nubEq, can be fixed for strict lists by applying same strategy used for struct nub in #179
  • nub for lazy lists. Don't know of a good way to fix this. The strict nub strategy of #179 cannot be applied here because you can't reverse an infinite lazy list.

We should ideally setup stack-safety tests for every function. To help make those tests run faster, we could shrink the v8 stack size with something like --stack_size=10 (default is 984 kB).

主要言語
PureScript
スター
61
フォーク
50
平均マージ
2日 6時間
マージ済み PR(30日)
1

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

purescript/purescript-lists のほかの issue

purescript/purescript-lists の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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