From: matz@... (Yukihiro Matsumoto) Date: 2003-01-24T01:52:21+09:00 Subject: Re: Ruby, C, and garbage collection Hi, In message "Re: Ruby, C, and garbage collection" on 03/01/24, Paul Brannan writes: |> Or use StringValuePtr() provided for such cases. | |I don't understand. How would using StringValuePtr() help in these |cases? The macro StringValuePtr() uses the variable's address internally, so that the variable will not be optimized out before function termination. matz.