Move `INTEGER`/`REAL`/other accessors out of loops
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- r
- 領域
- performance
調査の方向性
Start by locating the loop implementations that use INTEGER, REAL, and other accessors, then determine which accessor expressions do not depend on the current loop iteration. Review the related discussion in pull request 7598. Done means the independent accessors are moved out of their loops without changing behavior; the issue does not name specific files or tests.
索引モデルが issue の本文から書いたものです。
説明
We are always so picky about moving
INTEGERout of loops, but apparently here we did not care yet.
Originally posted by @ben-schwen in https://github.com/Rdatatable/data.table/pull/7598#discussion_r2702792455
It might be possible to write a linter that detects some cases where the expression in accessor(expression) does not depend on the current loop iteration.
- 主要言語
- R
- スター
- 3.9k
- フォーク
- 1.1k
- 平均マージ
- 15時間 51分
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Rdatatable/data.table のほかの issue
-
as.data.table() recurses without end on a survival::Surv object (or any data.frame carrying one)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Rdatatable/data.table#7887 ·
-
test() doesn't distinguish plain NA_real_, NaN対応中かも @MichaelChirico が 68 日前に担当しました。 オープンconsistency tests
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Rdatatable/data.table#7853 · コメント 3 件 ·
-
HAVE_LONG_DOUBLE is conditioned on but never set対応中かも @venom1204 が 512 日前に担当しました。 オープンinternals
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Rdatatable/data.table#6938 · コメント 1 件 ·
-
encoding fread
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Rdatatable/data.table#5179 · コメント 8 件 ·
-
documentation programming
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Rdatatable/data.table#3199 · コメント 3 件 ·
Rdatatable/data.table の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
hubverse-org/hubUtils#317 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Rapporteket/NORIC#318 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100