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

add DirectByteString: a ByteString implementation that uses an off-heap ByteBuffer as backing

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java, scala

調査の方向性

まず、既存の ByteString と ByteStrings の実装を、pekko-actor の DirectByteBufferPool と併せて読みます。DirectByteString が連結とどのように相互運用すべきか、また compaction が byte-array と direct-ByteBuffer の backing のどちらを選択すべきかを明確にします。これらの設計上のポイントが仕様化され、サポートされれば完了です。

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

説明

The Pekko ByteString uses a byte array as backing.
Netty has support for DirectByteBufs (ByteBufs that use an off-heap ByteBuffer - aka Direct ByteBuffer).

pekko-actor already has DirectByteBufferPool - so in theory, we can reuse the direct ByteBuffers too.

ByteStrings (a ByteString that is a concat of multiple ByteStrings) should hopefully be able to work with DirectByteStrings with little or no changes.

When ByteStrings are compacted, we might want to be able to choose if the compacted ByteString is byte array backed or Direct ByteBuffer backed.

wdyt @He-Pin ?

主要言語
Scala
スター
1.7k
フォーク
212
平均マージ
18時間 4分
マージ済み PR(30日)
113

環境構築

はじめの一歩

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

apache/pekko のほかの issue

apache/pekko の issue をすべて見る

似ている issue

Scala の issue をもっと見る

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

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