Changes between Initial Version and Version 1 of Ticket #16500, comment 1


Ignore:
Timestamp:
Dec 21, 2012, 3:45:09 AM (7 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16500, comment 1

    initial v1  
    1 This looks very strange how your continentStore.loadItem() calls _store.newItem() 500 times.   !TreeStoreMOdel responds to every new item by requerying the list of children for that item (see !TreeStoreModel.onNewItem).   So, you should stop calling _newItem() from loadItem().
     1This looks very strange how your continentStore.loadItem() calls _store.newItem() 500 times.   !TreeStoreModel responds to every new item by requerying the list of children for that item's parent (see !TreeStoreModel.onNewItem).   So, you should stop calling _newItem() from loadItem().
    22
    33Also, eventually you should stop using the deprecated !TreeStoreModel and use !ObjectStoreModel instead.