From: Yukihiro Matsumoto Date: 2007-10-20T19:29:12+09:00 Subject: Re: enum.c patch: fixes Enumerable.cycle and rdoc bugs Hi, In message "Re: enum.c patch: fixes Enumerable.cycle and rdoc bugs" on Fri, 19 Oct 2007 10:27:48 +0900, Nobuyoshi Nakada writes: |> |I thought that since the internal array was private to the |> |implementation it was safe to only test its length once. Are you |> |concerned about concurrent access to it through ObjectSpace? Or am I |> |missing some other way that it is exposed? |> |> ObjectSpace. Even though its possibility is fairly low, it's better |> to be defensive. | |Why not set the klass to 0? Indeed. Thank you. matz.