in reply to Unnecessary copying of settings on every page render
FWIW, I created a pair of patches for this: system settings - (patch) and set_htmlvars - (patch). NB, They should be applied strictly in that order.