@DavidCarlisle Trying a file that contains repeated instances of `\setlength{\xx}{10pt}
{\setlength{\xx}{20pt}\global\xx=\xx}` and one without the `\global` statement, I see no change in the reported number of used stack positions, in this case `23i,1n,17p,139b,36s stack positions out of 5000i,500n,10000p,200000b,50000s`. Am I looking the wrong report?