#78 FlatList#join(index,list) add joining at element index

クローズ
4 年 前ranides によって開かれました · 1 コメント
ranides4 年 前 にコメントしました

At this moment join uses index related to number of merged lists, not elements. It would be good to use element indexing.

That means: if you merged 4 lists of size 10, then you can join at positions: 0...3

We want: join at any position 0...40

What is necessary: Support for virtual splitted lists. That means: list should be split into two views which behaves almost identically as ordinary subLists, but are a bit better prepared for insertions and deletions (for example tail list can degenerate to empty list)

At this moment `join` uses index related to number of merged lists, not elements. It would be good to use element indexing. That means: if you merged 4 lists of size 10, then you can join at positions: 0...3 We want: join at any position 0...40 What is necessary: Support for virtual splitted lists. That means: list should be split into two views which behaves almost identically as ordinary subLists, but are a bit better prepared for insertions and deletions (for example tail list can degenerate to empty list)
ranides2 年 前 にコメントしました
オーナー

In reality, we don't need mutable FlatList. It will make more problems that solutions.

We are not going to add new methods, but what's more: we removed almost all join methods except one, adding to the end.

In reality, we don't need mutable FlatList. It will make more problems that solutions. We are not going to add new methods, but what's more: we removed almost all `join` methods except one, adding to the end.
ranides 2 年 前 に閉じられました
ranides この課題がコミット 2 年 前 から参照されました
会話に参加するには サインイン してください。
マイルストーンなし
担当者なし
1 参加者
読み込み中…
キャンセル
保存
まだコンテンツがありません