D - Why no 'dup' property for associative arrays?
- Russell Lewis (1/1) Sep 25 2002 Thoughts, anyone?
- Mac Reiter (7/8) Sep 25 2002 It's not a "dup", but you can make an optimally hashed copy... Seems li...
- Burton Radons (6/7) Sep 25 2002 Uh, accident of omission? I'll mark it in my TODO.
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
Sep 25 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.
Sep 25 2002