guix/etc
Ricardo Wurmus 670fc6ee50
etc/committer: Speed up surrounding-sexp.
The old surrounding-sexp procedure would read all S-expressions from the
beginning of the file up to the given line number and then return the last
encountered S-expression.  This is quite wasteful.  Instead we can record all
lines that begin with an S-expression and jump straight to the offset closest
to the desired line number to read the S-expression there.

* etc/committer.scm.in (lines+offsets-with-opening-parens): New procedure.
(surrounding-sexp): Use it.
2023-09-24 13:49:53 +02:00
..
completion
git
init.d
openrc
snippets
substitutes
teams/qt
committer.scm.in etc/committer: Speed up surrounding-sexp. 2023-09-24 13:49:53 +02:00
copyright.el
disarchive-manifest.scm
gnu-store.mount.in
guix-daemon.cil.in etc: SELinux: Update policy file. 2023-05-25 12:51:15 +02:00
guix-daemon.conf.in
guix-daemon.service.in
guix-gc.service.in etc: Add systemd files for running ‘guix gc’ periodically 2021-09-20 14:18:21 +00:00
guix-gc.timer
guix-install.sh guix-install.sh: Fix incomplete installation. 2023-07-16 02:00:07 +02:00
guix-publish.conf.in
guix-publish.service.in etc: systemd services shouldn't ‘RemainAfterExit’. 2022-10-23 02:00:26 +02:00
historical-authorizations Add 'etc/historical-authorizations'. 2020-07-11 11:51:56 +02:00
hurd-manifest.scm maint: Add gdk-pixbuf to native Hurd manifest. 2023-09-19 07:26:56 +02:00
kernels-manifest.scm
news.scm
release-manifest.scm
source-manifest.scm
system-tests.scm build-system: Add 'channel-build-system'. 2022-08-09 15:16:06 +02:00
teams.scm.in teams: Add self to 'python'. 2023-09-22 01:42:34 +08:00
time-travel-manifest.scm