Thread overview
Why no 'dup' property for associative arrays?
Sep 25, 2002
Russell Lewis
Sep 25, 2002
Mac Reiter
Sep 26, 2002
Burton Radons
September 25, 2002
Thoughts, anyone?

September 25, 2002
In article <3D91EB73.2090103@deming-os.org>, Russell Lewis says...
>
>Thoughts, anyone?

It's not a "dup", but you can make an optimally hashed copy...  Seems like it's called rehash, but I don't remember for sure.  Usually used for re-optimizing an assoc array after loading it up, but it has the side effect that it creates a new assoc array rather than modifying the original.  (Thank goodness for garbage collection, or I'd leak all kinds of memory with this...)

Mac


September 26, 2002
Russell Lewis wrote:
> Thoughts, anyone?

Uh, accident of omission?  I'll mark it in my TODO.

That about sums up many of the things you're pointing out, btw.  Keep pointing them out here - getting misaligned on these features wouldn't be good for DMD or DLI.  If Walter has a problem with one of Russ's trivial feature requests here, he's going to have to speak up.