On Friday 01 February 2008 15:42:41 Andy Lester wrote:

> > Do we really need to export 16,000 symbols?  We ought to be *removing*
> > PARROT_API, not adding it.

> The bulk of those are autogenerated in the PMCs, of course.

I have a plan.  If we're cloning parent PMC vtables anyway, we only have to 
store pointers to functions declared in the PMC files themselves, so we don't 
need to refer to functions declared in other PMC files, which means we don't 
need to export them.

I just haven't made it work yet.

> What about unused functions?  Look at, say, Parrot_char_digit_value()
> in src/string_primitives.c.  It's PARROT_API for no apparent reason,
> so I went acking for it, and look, it's unused anywhere.
>
> Can we safely yank anything that's just not referred anywhere?

Provided it's not in a PDD or development doc anywhere and the language tests 
don't get worse, yes please.

-- c

Reply via email to