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 /gnu/installer | |
parent | a524a31de43b330c911fb08ae02fcd880d32aa04 (diff) |
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 'gnu/installer')
0 files changed, 0 insertions, 0 deletions