Fwd: PBC, Const Tables, and STRINGs

Vasily Chekalkin bacek at bacek.com
Tue Apr 27 11:40:37 UTC 2010


Hello.

On Tue, Apr 27, 2010 at 9:22 PM, kjstol <parrotcode at gmail.com> wrote:
> chromatic,
>
> just for my understanding (and other lurkers perhaps), you mean that a
> Sub is now stored in the constant table as a Sub PMC, and each of its
> attributes is stored as other constants (mostly STRINGs), and you
> would prefer to make that one blob? Basically, rather than a "graph"
> of constants (root is the Sub PMC and it has indexes to other entries
> in the constant table), it becomes one PMC that represents everything
> the sub needs/has (such as the various names for the sub :flags). Is
> this correct?

It's other way around. Whole Sub PMC stored as single blob without
using PackFile_ConstTable for attributes.

-- 
Bacek


More information about the parrot-dev mailing list