[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] ash: improve speed of variable pattern substitution
From: Ron Yorston <rmy () pobox ! com>
Date: 2021-07-23 7:42:42
Message-ID: 60fa72f2.UaXI2kC8atrsB3+E%rmy () pobox ! com
[Download RAW message or body]
I see that Denys has applied a smaller and tidier alternative to
my attempt at a patch. I note:
- The speed up is still only applied if a non-default build option
is selected so there's no change in the size of a default build.
- The slower search is used if any special characters are present in
the pattern even if they're escaped. Thus ${x//\*/|}, for example,
will continue to be slow.
Ron
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic