On Sunday 25 November 2007 12:37:13 Patrick R. Michaud wrote: > On Sun, Nov 25, 2007 at 11:50:15AM -0800, chromatic wrote:
> > It doesn't *always* work. For example, I think CONST_STRING() doesn't > > work in PCCMETHODs in PMCs for some reason I can't explain, and it > > doesn't work in other source files. > I converted string_literal() to CONST_STRING() inside of CodeString > PMCs, and so far things seem to be working. If I start encountering > GC problems I may switch it back. Any errors are likely to be compile errors, not GC problems. The only STRING-related GC problem I know is something strange regarding COW STRINGs shared between constant and non-constant pools, which is very different from this. -- c