Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit workflow #22

@iammatis

Description

@iammatis

Current implementation requires several O(n) loops:

  1. Writing entities to a main file - O(n)
  2. Adding meta objects to Map - O(n)
  3. Writing meta objects to file - O(m)

Possible improvement could be achieved with one bigger loop, iterating through entities and doing all the operations 1. and 2. while doing so in O(n) time and then saving meta objects to file in O(m) time. This might require implementation of undo/redo logs #6 that would be made beforehand.

All these operations need to be done for both toBeRemoved and toBePersisted, this might be improved too by merging these two maps.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions