This vtable currently copies the string.
Yeah, and we've the same issue with set_pmc -- some of the versions make a copy and some just use the passed in PMC. (the get_[string|pmc] vtable methods have a similar issue--should they return the real thing or a copy?)
I'm up for a set and assign string & pmc vtable method, as well as a get and access (to get a copy and a direct reference, respectively) string and pmc method, though there's always the caveat that some PMCs won't be able to actually do this and will have to make a copy anyway.
--
Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk