Moves static variables in IO into the cpp file as static-linkage variables
Removes _locale static variable and instead just calls std::locale::classic() (no comments etc. were written to justify why it's worth caching - probably doesn't matter)
Adds missing CHANGELOG.md entry for #3943
The reason I'm throwing this in separately is because it's much less tedious than slowly back-and-forthing on a separate PR. I'll merge this once it's through CI.
Minor cleanup to #3943
IO
into the cpp file as static-linkage variables_locale
static variable and instead just callsstd::locale::classic()
(no comments etc. were written to justify why it's worth caching - probably doesn't matter)The reason I'm throwing this in separately is because it's much less tedious than slowly back-and-forthing on a separate PR. I'll merge this once it's through CI.
This change is