On Wed, Jan 18, 2023 at 08:48:56PM -0500, Joshua Kinard wrote: > > So this article[1] from 2017 popped up again on the tech radar via > hackernews[2] and a few other sites[3]. It > annotates how if the envvar TZ is undefined on a Linux system, it causes > glibc to generate a number of > additional syscalls, mainly stat-related calls (in my tests, newfstatat()). > If defined to an actual value, > such as ":/etc/localtime" (or even an empty string), glibc will instead > generate far fewer, if any at all, of > these stat-related syscalls. [...] > > Thoughts?
Sounds good to me from the little I know of it, albeit I do imagine it could raise issues with some packages that try to use/handle TZ themselves and no telling what obscure thing this is going to break. exa[1][2] is one example that sam mentioned, but I imagine there's more to find. Personally added to /etc/env.d locally anyway, will see what come of it for the things I use, not that this covers much at all :) [1] https://github.com/ogham/exa/issues/856 [2] https://github.com/ogham/exa/pull/867 -- ionen
signature.asc
Description: PGP signature
