[#1147] Copying RVALUE — why the lucky stiff <ruby-core@...>

Hello, everyone. Hope you are all doing well.

18 messages 2003/06/17
[#1155] Re: Copying RVALUE — matz@... (Yukihiro Matsumoto) 2003/06/20

Hi,

[#1157] Re: Copying RVALUE — why the lucky stiff <ruby-core@...> 2003/06/20

Yukihiro Matsumoto (matz@ruby-lang.org) wrote:

[#1173] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...>

Hi, I'm new to this mailing list so I don't know the procedure for

15 messages 2003/06/22
[#1174] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — nobu.nokada@... 2003/06/22

Hi,

[#1175] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...> 2003/06/22

On Sun, 2003-06-22 at 05:36, nobu.nokada@softhome.net wrote:

[#1176] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — nobu.nokada@... 2003/06/22

Hi,

[#1193] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...> 2003/06/25

On Sun, 2003-06-22 at 07:41, nobu.nokada@softhome.net wrote:

[#1177] Re: In 1.8.0 nil.to_s is not the same as "" — ts <decoux@...>

14 messages 2003/06/22

Re: Copying RVALUE

From: matz@... (Yukihiro Matsumoto)
Date: 2003-06-20 07:50:48 UTC
List: ruby-core #1155
Hi,

In message "Copying RVALUE"
    on 03/06/18, why the lucky stiff <ruby-core@whytheluckystiff.net> writes:

|Without going into terrible details, I am looking for a way to move an
|object in the symbol table.  I am currently using memcpy with some
|success:
|
|   /* VALUE to, from; */
|   MEMCPY( (void *)to, (void *)from, RVALUE, 1 );

Each object does not assume bitwise copy.  It may cause problems, such
as freeing memory region which is still referenced from the copy.  So
the direct answer should be "there's no such way".

If you tell me the problem you want to solve, we can seek for the
solution. 

							matz.

In This Thread