]> Lady’s Gitweb - Shushe/commit
Reduce subshells created by percent·encoding
authorLady <redacted>
Sat, 3 Feb 2024 20:25:41 +0000 (15:25 -0500)
committerLady <redacted>
Sun, 4 Feb 2024 00:49:18 +0000 (19:49 -0500)
commitb96a5ac986977275066876a3383966f1f4e24d30
treebf0da217d7de5c9e3874521d5bb4951126c5c49e
parent03f9773767ae7811289561abe5162e8b04578991
Reduce subshells created by percent·encoding

It’s possible to use `%0A` as a component separator assuming that
file·names will never contain newlines; this allows all filenames to
be processed at once rather than needing a separate subshell for each.

It’s not necessary to encode each path component separately; just
encode the whole path and replace `%2F` with `/` at the end. It’s not
possible for file·names to contain literal `/` characters.

The above two changes should increase the speed of operations such as
building the parser catalog in ⛩️📰 书社 considerably.
GNUmakefile
This page took 0.027521 seconds and 5 git commands to generate.