diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-06-22 23:29:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-06-23 00:03:08 +0200 |
commit | 52b4524f4e87e16da6fb1475145685299f0febe0 (patch) | |
tree | caffb686abd41ac27de8e308915b87c6d84bd419 /NEWS | |
parent | a524a31de43b330c911fb08ae02fcd880d32aa04 (diff) | |
download | guix-patches-52b4524f4e87e16da6fb1475145685299f0febe0.tar guix-patches-52b4524f4e87e16da6fb1475145685299f0febe0.tar.gz |
po: Avoid regexps when interpreting '\n' sequences.
This reduces the execution time of:
(call-with-input-file "po/doc/guix-manual.de.po" read-po-file)
from 4.7s to 4.0s.
* guix/build/po.scm (interpret-newline-escape): New procedure.
(parse-tree->assoc): Use it instead of 'regexp-substitute/global'.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions