From: matz@... (Yukihiro Matsumoto) Date: 2002-08-23T08:26:51+09:00 Subject: Re: [Cleanup] Int vs Long (2nd part) Hi, In message "Re: [Cleanup] Int vs Long (2nd part)" on 02/08/23, Michal Rokos writes: |> > @@ -1690,14 +1685,16 @@ |> > rb_ary_uniq_bang(ary) |> > VALUE ary; |> > { |> > - VALUE hash = ary_make_hash(ary, 0); |> > + VALUE hash; |> > VALUE *p, *q, *end; |> > |> > + rb_ary_modify(ary); |> > + |> > + hash = ary_make_hash(ary, 0); |> > + |> |> Which should be done first? | | I hope this one (not the current) is the right one. I think so too. The current bahavior creates an hash even when the array is frozen. matz.