From: matz@... (Yukihiro Matsumoto) Date: 2001-03-17T23:40:34+09:00 Subject: [ruby-talk:12773] Re: Status of (un)freeze? Hi, In message "[ruby-talk:12762] Re: Status of (un)freeze?" on 01/03/17, "Christoph Rippel" writes: |I am not sure if Ruby really needs infinite recursion protection for |#egl?,#== etc. (#hash is trivial btw.) in the core. It won't be free |in terms of running speed but it can be done relatively cheaply. |On the other hand it certainly helps if we were allowed to put |some hooks for our stuff into the core. If you are going to make recursion error, I don't think it's worthy to have in the core. It's detected by stack level check anyway. But if you can compare tangled structure safely, it's worth it. |Coming back to my original question would it be okay then too |introduce a general method like #tmp_freeze (or Freeze objects) |into the core for this - this seems much cleaner to me? Well, it makes me feel like implementation issue leaking outside. matz.