If we only save the node attributes to the History stack, we won't have to construct a new node each time we pull from the stack.
This will save time by preventing saving node information that will not be used when reverting to a previous state, as well as save us from re-linking each node after a stack pull. Lastly, this prevents us from initialising new nodes when we already have access to the node objects and can modify them in place.
If we only save the node attributes to the History stack, we won't have to construct a new node each time we pull from the stack. This will save time by preventing saving node information that will not be used when reverting to a previous state, as well as save us from re-linking each node after a stack pull. Lastly, this prevents us from initialising new nodes when we already have access to the node objects and can modify them in place.