On Mon, Aug 09, 2004 at 03:11:53PM -0400, Dan Sugalski wrote:
> At 11:57 AM -0700 8/9/04, chromatic wrote:

> >Is there a particular hash lookup style you have in mind?  If there's
> >something similar in the code already, I can copy, paste, and modify the
> >generator trivially.
> 
> You could look at what we do for class registration -- that code 
> might be similar. I don't think we've got too much at the C level 
> that messes around with parrot hashes yet, though.

Does the structure change at runtime? (ie can one register new dynamically
loaded NCI helper code?)

If not, a generated switch statement would work as well as a data structure,
surely?

Personally I'd see what I could coax out of the routines in ExtUtils::Constant,
but I'm biased because I wrote that.

Nicholas Clark

Reply via email to