On 6/27/21 2:13 AM, Koichi Murase wrote:
Description:
The time complexities of ${v/...} and ${v^...} are expected to be
linear with respect to the length of the variable contents.
However, the time complexity of ${v/...} is quadratic if there is no
replacement when the length is larger than about 10000. Also, the
time complexity of ${v^} becomes quadratic if the variable contains
many newlines.
Thanks for the report and fixes.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/