On 05/06/2013 10:00 PM, Chet Ramey wrote:
> On 5/3/13 5:48 AM, Stefano Lattarini wrote:
>> [+cc bug-gnulib, see below for a reason]
>>
>> Minimal reproducer of the regression:
>>
>> $ cat foo.bash
>> echo "$BASH_VERSION"
>> declare -A hash
>> echo ${hash[a/b]}
>> echo $?
>>
>> $ /bin/ba
On 5/3/13 5:48 AM, Stefano Lattarini wrote:
> [+cc bug-gnulib, see below for a reason]
>
> Minimal reproducer of the regression:
>
> $ cat foo.bash
> echo "$BASH_VERSION"
> declare -A hash
> echo ${hash[a/b]}
> echo $?
>
> $ /bin/bash foo.bash
> 4.2.45(1)-release
>
> 0
>
> $
On 05/06/2013 12:33 PM, Andreas Schwab wrote:
> Stefano Lattarini writes:
>
>> Four times slower, yikes. Any idea where these numbers might be coming
>> from?
>
> Try building without debugging options (make DEUBG= MALLOC_DEBUG=)
>
Thanks! This solved the issue (after s/DEUBG/DEBUG/). So it w
Stefano Lattarini writes:
> Four times slower, yikes. Any idea where these numbers might be coming
> from?
Try building without debugging options (make DEUBG= MALLOC_DEBUG=)
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276
Compared with Bash 4.2, the development version of bash is very slow
in running autoconf-generated configure scripts (or, to be more
precise, that's where I noticed the slowness; it might very well be
more generalized, but I haven't checked for that).
Some numbers:
$ /bin/bash -c 'echo "$BASH_V