[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:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2021-10-09 0:40:22
Message-ID: CAK1hOcOzphOAjMJFdkeeQCC1ikcMATZ8YJYdDTujXJYjjxibJA () mail ! gmail ! com
[Download RAW message or body]

On Wed, Jul 21, 2021 at 10:54 PM Alin Mr <almr.oss@outlook.com> wrote:
> 
> Ron, thanks for your quick patch and the hints. I saw your message and was thinking \
> through;  fixed-length patterns don't need backtracking. '?' (without '*') also \
> results in fixed-length patterns, so maybe that'd be more complicated to detect. 
> To motivate this a bit: it started with quoters. Since we have neither bash's \
> ${x@Q}, nor `printf %q`, it's harder to escape shell code for eval, or to produce \
> quoted SQL values **efficiently**.

A patch to implement e.g. ${x@Q} is acceptable.
_______________________________________________
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