Add todos for container hashmap
This commit is contained in:
parent
86c34b112e
commit
1f2809193f
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ export interface IHistoryState {
|
|||
/** Reference to the main container */
|
||||
mainContainer: IContainerModel
|
||||
|
||||
// TODO: Add hashmap<string, IContainerModel> to optimize FincContainerById from worst O(n) to O(1)
|
||||
// TODO: this hashmap will not be serialized, modify it in the replacer and reviver in saveload.ts + worker.js
|
||||
// TODO: Update addContainers and deleteContainer to update the hashmap
|
||||
|
||||
/** Id of the selected container */
|
||||
selectedContainerId: string
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue