forked from External/mage
* Performance: memory usage optimization for deck editor (improved search for low end computers, see #7177);
This commit is contained in:
parent
275e996c08
commit
c1dea5b21e
5 changed files with 81 additions and 7 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue