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

precheck: parallelise core_ext_boundary_check (the precheck's critical path, 17–35 s)

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
70/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
bash, c, shell

調査の方向性

The script tools/core_ext_boundary_check.sh runs gcc -fsyntax-only on each core source file sequentially. Start by examining this script to understand the file list and the gcc command. Then, modify it to use xargs -P or a similar parallel execution method. Verify the change by running time bash tools/precheck.sh and ensuring the total time is under 40 seconds on a 2-core machine and that the precheck's output and self-tests remain unchanged.

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

説明

area:gates enhancement found-by:critic help wanted

Found while building make precheck (#1264, PR-B). Out of that PR's scope, so filed here.

tools/core_ext_boundary_check.sh runs gcc -fsyntax-only over every core source file, one at a time. At 17–35 s it is the precheck's critical path: precheck takes about 61 s on a loaded 2-core box, against a target of well under a minute. Parallelising it (for example xargs -P "$(nproc)") or caching per-file results keyed on content would put precheck comfortably under a minute. The contributor-facing loop is precheck → push, so every second here is paid on every contribution.

Bar: time bash tools/precheck.sh is under 40 s on a 2-core box, and the gate's verdict and self-test are unchanged. Self-contained: needs only the repo and gcc.

主要言語
C
スター
3
フォーク
7
平均マージ
4時間 15分
マージ済み PR(30日)
106

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

InauguralSystems/EigenScript のほかの issue

InauguralSystems/EigenScript の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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