Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Geschlossen
#15,473 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c, javascript, nodejs
Bereich
backend, performance

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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:.
Vorherrschende Sprache
JavaScript
Sterne
6k
Forks
1.3k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
580

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus stdlib-js/stdlib

Alle Issues in stdlib-js/stdlib

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.