From: "ara.t.howard" Date: 2007-12-11T04:12:47+09:00 Subject: Re: Zero-copy String Handling On Dec 10, 2007, at 8:52 AM, Curt Sampson wrote: > Does anybody have any suggestions on a reasonably safe way to do this? this code shares memory between an mmap and narray http://codeforpeople.com/lib/ruby/nmap/ look at na_str.c, it uses rb_str_new4 to avoid copying. a @ http://codeforpeople.com/ -- share your knowledge. it's a way to achieve immortality. h.h. the 14th dalai lama