At 03:37 PM 1/3/2002 -0800, Brent Dax wrote: >The attached patch is also in preparation for Rx3 (or whatever you want >to call it). It implements a new Handle PMC type. Handles simply >contain pointers. They can't be directly manipulated directly by Parrot >bytecode; C code uses handle->vtable->get_value and ->set_value to >manipulate them. They stringify to "Handle=0xDECAF" (or whatever) and >numify to 912559 (or whatever).
While cool, I'm interested in why? For regexes you can stash a pointer to the string buffer into an S register if you want to bypass even one level of indirection. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk