From: Yukihiro Matsumoto Date: 2007-10-05T22:21:24+09:00 Subject: Re: Sizeof(Object) Hi, In message "Re: Sizeof(Object)" on Fri, 5 Oct 2007 22:10:04 +0900, Nikolay Kurtov writes: |I search the group and found a topic about sizeof(Class)/ |sizeof(Object). | |But there isn't an answer, how can I implement sizeof(Object) in Ruby. |Maybe someone has some ideas about that? Define sizeof(Object) in Ruby first. Sum of size of the memory occupied by an object, which depends on type of the object? Or, sizeof(RVALUE) that represents memory segment common to every object? matz.