mangayomi-mirror/lib/modules/library
NBA2K1 81123dc3cb Change the MangasListStateProvider to Set<int>
MangasListState previously stored selected manga IDs as List<int>.
Every visible library card called .contains() on that list once per
rebuild to determine its highlight state, making each check O(n) in
the number of selected items. The provider's own update/selectAll/
selectSome methods also used .contains() and .remove() on a List.

Change the state type to Set<int> throughout, making all membership
checks O(1). Updated all consumers: library_gridview_widget,
library_listview_widget, library_app_bar, library_dialogs, and
MangasSetIsReadState.
2026-04-12 23:03:18 +02:00
..
providers Change the MangasListStateProvider to Set<int> 2026-04-12 23:03:18 +02:00
widgets Change the MangasListStateProvider to Set<int> 2026-04-12 23:03:18 +02:00
library_screen.dart debounce the search query 2026-04-12 23:03:12 +02:00