When new database entries come in, history redoes everything -- which makes sense sometimes (if earlier entries come in) but kills performance if someone is just adding new history to the end. Just need to avoid recomputing current state if no different past diffs.
When new database entries come in, history redoes everything -- which makes sense sometimes (if earlier entries come in) but kills performance if someone is just adding new history to the end. Just need to avoid recomputing current state if no different past diffs.