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

[RFC]: Move `from_arraybuffer.js` into `@stdlib/ndarray/from-arraybuffer`

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
data

調査の方向性

まず lib/from_arraybuffer.js と、vector/ctor、matrix/ctor、tensor3d/ctor にあるそのコピーを読み、次にすでに進行中の別の @stdlib/ndarray/from-arraybuffer の作業を確認します。tensor4d と tensor5d が追加される前に、helper がそこへ移され、次元パッケージにこれらの重複コピーが含まれなくなれば完了です。

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

説明

Feature JavaScript priority: Low
Description

This RFC proposes acting on the TODO in lib/from_arraybuffer.js, which notes the helper should move to @stdlib/ndarray/from-arraybuffer.

The file is dimension-agnostic and is copied verbatim into each dimensional ctor package. There are three copies today, in vector/ctor, matrix/ctor, and tensor3d/ctor. Adding tensor4d and tensor5d would make five.

Separate work on @stdlib/ndarray/from-arraybuffer is already under way, which would reclaim all of them at once.

Related Issues

Related issues: Parent

Questions

Should this land before tensor4d starts, so the count stops at three?

Other

No.

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日)
586

環境構築

Codespaces で開く

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

はじめの一歩

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

stdlib-js/stdlib のほかの issue

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

似ている issue

JavaScript の issue をもっと見る

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

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