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

Improve performance: writeBytes(InputStream src)

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

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

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

評価

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

調査の方向性

WritableSequentialData.writeBytes(InputStream src) のデフォルト実装から始め、ByteArrayBufferedData.writeBytes(InputStream src) と比較します。次に、issue で挙げられている他の WritableSequentialData 実装である BufferedData、WritableStreamingData、CharBufferToWritableSequentialData を調べます。どの実装がメソッドの動作を維持しながら、より最適なバージョンを提供できるかを特定できれば完了です。

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

説明

Good First Issue

The default implementation at WritableSequentialData.writeBytes(InputStream src) uses a small 8 KB buffer to run the operation in a more-or-less optimal way. However, the ByteArrayBufferedData.writeBytes(InputStream src) provide a more superior implementation that attempts to write the entire buffer at once.

See if other implementations of the WritableSequentialData interface could also provide more optimal versions of the writeBytes(InputStream src) method - applicable to *BufferedData, WritableStreamingData, and CharBufferToWritableSequentialData.

For more details, see https://github.com/hashgraph/pbj/issues/191

主要言語
Java
スター
44
フォーク
16
平均マージ
13時間 49分
マージ済み PR(30日)
10

環境構築

はじめの一歩

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

hashgraph/pbj のほかの issue

hashgraph/pbj の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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