apache / apache/arrow-java

[Java] Remove reader index and writer index from ArrowBuf

オープン
#272 コメント 16 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
94
フォーク
152
平均マージ
3日 16時間
マージ済み PR(30日)
11

説明

Reader and writer index and functionality doesn't belong on a chunk of memory and is due to inheritance from ByteBuf. As part of removing ByteBuf inheritance, we should also remove reader and writer indexes from ArrowBuf functionality. It wastes heap memory for rare utility. In general, a slice can be used instead of a reader/writer index pattern.

**Reporter**: [Jacques Nadeau](https://issues.apache.org/jira/browse/ARROW-7494) / @jacques-n
#### PRs and other links:
- [GitHub Pull Request apache/arrow#6133](https://github.com/apache/arrow/pull/6133)

**Note**: *This issue was originally created as [ARROW-7494](https://issues.apache.org/jira/browse/ARROW-7494). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず ArrowBuf とその ByteBuf からの継承を読み、issue で説明されている読み取りインデックスと書き込みインデックスの機能を特定します。範囲を決める前に関連する API の使用箇所を追跡します。完了とは、ArrowBuf がそのインデックス機能を公開しなくなり、残りのバッファ動作が引き続き機能することです。

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

評価

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

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

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