how to get memory address
Posted
by levirg
on Stack Overflow
See other posts from Stack Overflow
or by levirg
Published on 2010-03-09T06:27:49Z
Indexed on
2010/03/09
6:36 UTC
Read the original article
Hit count: 160
ruby
hey Folks,
Is there any way in ruby to get the memory address of objects..
say..
(i = 5) is that possible to get the mem address of that object 5..
'object_id_' is not that satisfying..
I just wanted to know how referencing to objects work on ruby, so i thought address will be useful, to get things done
plugin memprof doesnt work on x_32bit, so is there any better way pls help me...,
Any answer would be really appreciated...
thanks,
Regards levirg
© Stack Overflow or respective owner