From: Joel VanderWerf Date: 2009-02-16T15:39:08+09:00 Subject: Re: Iterating a changing Hash under 1.9.1 Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Iterating a changing Hash under 1.9.1" > on Mon, 16 Feb 2009 14:28:07 +0900, Tom Link writes: > > |It shouldn't go into an infinite loop though. IMHO an exception > |("modification during iteration" or something like that) would be > |nice. > > Do you think speed decrease for normal case is acceptable? > > matz. It's also worrying that there is no clear definition of "during iteration", bearing in mind that any method which yields is an iterator, of sorts. Or would this only apply to a fixed set of core methods? -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407