aboutsummaryrefslogtreecommitdiff
path: root/githooks/pre-commit
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-20 23:41:11 -0500
committerCraig Jennings <c@cjennings.net>2026-07-20 23:41:11 -0500
commit448e55048cc8780c205247455754ca4571991bcc (patch)
treee2f34e464ced329b574442a1bc030181f8da280d /githooks/pre-commit
parentfabdc8f395e8186c389bafaf23dcef9fec92b974 (diff)
downloaddotemacs-448e55048cc8780c205247455754ca4571991bcc.tar.gz
dotemacs-448e55048cc8780c205247455754ca4571991bcc.zip
perf(host-env): try cheap timezone methods before the zoneinfo scan
The content-comparison scan reads hundreds of zoneinfo files and ran first on every call. TZ, /etc/timezone, and the symlink target are O(1) and answer on almost every system; the scan is now the last resort for a copied /etc/localtime. Verified the symlink and scan agree on this machine.
Diffstat (limited to 'githooks/pre-commit')
0 files changed, 0 insertions, 0 deletions