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

Закрыто
4 лет назад открыта ranides · комментариев: 1
ranides прокомментировал 4 лет назад

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 прокомментировал 2 лет назад
Владелец

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 лет назад
Войдите, чтобы присоединиться к обсуждению.
Нет этапа
Нет ответственного
1 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.