Reducing UNDO State Size

Not yet. Will it vary by machine? Because mine is kind of a statistical outlier, and would have a lot more memory available for UNDO states than most. I could probably test it on my phone, I suppose…

It’s more a desire to maximize this for the player, than the number of UNDO states being a present problem. I can see there is waste somewhere, and I want to reduce it. If it only offers 20 states but could offer 100, then I would like to push for 100 by reducing copies of unchanging data in each state. (These are fictitious numbers. Idk what the average is for a game.)

EDIT: Specifically, I’m asking if there’s a way to force certain data to be shallow-copied instead of deep-copied, per UNDO state, and/or how these states are made, mostly for the sake of knowledge itself. It’s not so much “I need a solution for a specific problem in one game in particular”.