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

Uzavrená
otvorené 4 rokov pred užívateľom ranides · 1 komentárov
ranides okomentoval 4 rokov pred

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)
ranides okomentoval 2 rokov pred
Vlastník

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 sa odvolal na túto issue z commitu 2 rokov pred
Prihláste sa pre zapojenie do konverzácie.
Žiadny míľnik
Žiadny priradený
1 účastníkov
Načítavanie...
Zrušiť
Uložiť
Zatiaľ neexistuje žiadny obsah.