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 bash completion: Fix & unify option parsing. 2022-05-29 02:00:20 +02:00
git etc: gitconfig: Do not enforced signed commits. 2023-05-18 23:17:31 -04:00
init.d
openrc
snippets snippets: tempel: Simplify git-commit-mode detection. 2023-04-19 20:12:22 -04:00
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
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 time-travel-manifest: Comment out versions older than 1.3.0 for now. 2023-09-09 19:36:05 +02:00