PGE History Manager
Posted: 18 Jan 2015, 10:59
I am currently rewriting the history manager and currently have a design decision to make.
The old system did always the opposite of the actions it recorded, but when a history operation is missing the whole system get messed up.
Anyway, I can redesign the new system that it will save up the state of the old data and the state of the new data. However, it will use more memory.
So in short:
- The old system Pros:
Does save memory.
- The old system Cons:
This system is not reliable.
- The new system Pros:
Will really restore the last operation on their exact position.
- The old system Cons:
Will cost more memory space.
The old system did always the opposite of the actions it recorded, but when a history operation is missing the whole system get messed up.
Anyway, I can redesign the new system that it will save up the state of the old data and the state of the new data. However, it will use more memory.
So in short:
- The old system Pros:
Does save memory.
- The old system Cons:
This system is not reliable.
- The new system Pros:
Will really restore the last operation on their exact position.
- The old system Cons:
Will cost more memory space.