* Performance: memory usage optimization for deck editor (improved search for low end computers, see #7177);

This commit is contained in:
Oleg Agafonov 2021-02-12 18:31:51 +04:00
parent 275e996c08
commit c1dea5b21e
5 changed files with 81 additions and 7 deletions

View file

@ -26,4 +26,11 @@ public interface ICardGrid {
void refresh();
int cardsSize();
// only for debug, return inner cards list
Object getCardsStore();
// specil memory optimization to clean inner cards list before new cards load, so you don't need 2x memory
// WARNING, you must call it in same code as new cards list prepare
void clearCardsStoreBeforeUpdate();
}