-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I heard that immediate values holds the object, not a reference to it, is that right? I mean: s1 = "test" # a String located on for ex 0xCC53D5DF s2 = s1 # points to the same place as s1 s3 = "test" # ANOTHER String, locate on for ex 0xC0DD54D0 n1 = 1 # Fixnum here, located on ... ? n2 = n1 # points to the same place as n1 n3 = 1 # points to the same place as n1 So, Fixnum (as true, false and nil) objects uses the same object for all over the program, but Strings, for ex, does not, even if the value are the same there are distinct objects, right? On the end, n1, n2 and n3 are not reference to this only one object allocated there, shared by all? Variables are not all references, even on the Fixnum case, pointing to an allocated single object there? And I think the mark-and-sweep garbage collector works on the same way as other objects to Fixnum, true, false and nil right? Thanks! :-) - ---------------------------- Eust?quio "TaQ" Rangel eustaquiorangel / yahoo.com http://beam.to/taq Usu?rio GNU/Linux no. 224050 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB4lJNb6UiZnhJiLsRAqS1AJ9PG+dTod2hRCEJAo71ciqIY+KiMQCdGbxU yj5Dg/5NfkpW+Qnislw9Nz4= =DRR4 -----END PGP SIGNATURE-----