On 11/10/20 12:54 AM, Michael Allan wrote:
> Configuration Information [Automatically generated]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: x86_64-pc-linux-gnu-gcc
> Compilation CFLAGS: -march=native -O2 -pipe -Wno-parentheses
> -Wno-format-security
> uname output: Linux primeval 5.4.30-gentoo
On 11/10/20 2:16 PM, Tavis Ormandy wrote:
> Hello, I was just checking the new release candidate for compatability with my
> builtin and noticed that assoc arrays are now automatically rehashed on
> insertion.
>
> I knew this day would come :-)
(I confess that I have not looked at your code.)
>
Hello, I was just checking the new release candidate for compatability with my
builtin and noticed that assoc arrays are now automatically rehashed on
insertion.
I knew this day would come :-)
I had been (ab)using the fact that if you created the array with
assoc_create(1), the order of elements
On 11/9/20 6:29 PM, Greg Wooledge wrote:
> bash version 5.0.3(1)-release, Debian package 5.0-4, amd64.
>
> Prompted by a discussion with someone in IRC.
>
> unicorn:~$ key='$(date >&2)'
> unicorn:~$ declare -A aa
> unicorn:~$ aa[$key]=foo
> unicorn:~$ echo "${aa[$key]}"
> foo
> unicorn:~$ [[ -v a
Configuration Information [Automatically generated]:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
Compilation CFLAGS: -march=native -O2 -pipe -Wno-parentheses
-Wno-format-security
uname output: Linux primeval 5.4.30-gentoo #33 SMP Wed Jul 29 00:03:46 EDT 2020
x86_64 AMD Ryzen 7