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 etc: Add copyright. 2020-02-22 17:56:31 +03:00
disarchive-manifest.scm
gnu-store.mount.in
guix-daemon.cil.in
guix-daemon.conf.in
guix-daemon.service.in
guix-gc.service.in
guix-gc.timer
guix-install.sh
guix-publish.conf.in
guix-publish.service.in
historical-authorizations
hurd-manifest.scm maint: Add gdk-pixbuf to native Hurd manifest. 2023-09-19 07:26:56 +02:00
kernels-manifest.scm maint: Add missing modules to the kernel manifest. 2023-01-06 00:16:06 -05:00
news.scm news: Add entry about the removal of linux-libre 6.3. 2023-07-23 22:26:00 -04:00
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