On Tue, Jan 24, 2006 at 08:29:45PM -0500, Matt Diephouse wrote:
> Chip Salzenberg <[EMAIL PROTECTED]> wrote:
> > Say, that gives me an idea.  Python-like untyped namespaces are a
> > significant subpopulation.
> >
> > Matt: How about a standard namespace method:
> >
> >     INTVAL is_typed()
> >
> > which returns false for the simple Python-like unmangled namespaces?  This
> > would allow -all- untyped namespaces to export to each other without hassle,
> > even if they're from different HLLs.
> 
> It definitely shouldn't be a problem. But it's only useful if you
> think that languages won't be able to correctly identify their own
> types [...]

As you surmise, it's a performance hack.  It's still useful if it just
allows a significant number of export events to *avoid* the processing of
identifying object types.  Python-like namespaces will use this test
*instead* of the "are you of the same namespace type as me" test for
shortcut processing.
-- 
Chip Salzenberg <[EMAIL PROTECTED]>

Reply via email to