At 06:17 PM 1/3/2002 -0800, Brent Dax wrote:
>Dan Sugalski:
># At 03:37 PM 1/3/2002 -0800, Brent Dax wrote:
># 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.
>
>Handles
Dan Sugalski:
# At 03:37 PM 1/3/2002 -0800, Brent Dax wrote:
# 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.
Handles would probably be used for other things besides regex
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-
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. T