Re: Disabling automatic assoc rehashing

2020-11-10 Thread Chet Ramey
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.) >

Disabling automatic assoc rehashing

2020-11-10 Thread Tavis Ormandy
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