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

[RFC]: Add native C implementations for cumulative statistics functions in `@stdlib/stats/base`

クローズ
#15,473 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c, javascript, nodejs

調査の方向性

The issue targets the @stdlib/stats/base package, specifically the cumulative statistics functions (cumax, cumaxabs, cumin, cuminabs). Start by examining the existing JavaScript implementations in the package. Look for N-API examples in the codebase to understand the native addon pattern. The goal is to create C implementations that avoid V8 bounds-checking overhead. 'Done' means the native addons are integrated and passing tests for these functions.

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

説明

Description

This RFC proposes adding native C implementations (via N-API) for the basic cumulative statistics functions in @stdlib/stats/base. Currently, these functions rely exclusively on pure JavaScript implementations. Adding these native addons will help avoid V8 bounds-checking overhead and improve iteration performance over large memory buffers.

Related Issues

Related issues none.

Questions

No.

Other
Packages
  • @stdlib/stats/base/cumax
  • @stdlib/stats/base/cumaxabs
  • @stdlib/stats/base/cumin
  • @stdlib/stats/base/cuminabs
Checklist
  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.
主要言語
JavaScript
スター
6k
フォーク
1.3k
平均マージ
1日 8時間
マージ済み PR(30日)
580

環境構築

Codespaces で開く

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

はじめの一歩

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

stdlib-js/stdlib のほかの issue

stdlib-js/stdlib の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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