At 04:06 PM 4/19/2001 -0400, Uri Guttman wrote:
> >>>>> "NIS" ==   <[EMAIL PROTECTED]> writes:
>
>   NIS> Dan Sugalski <[EMAIL PROTECTED]> writes:
>   >>
>   >> struct arena {
>   >> struct base_PMC[4096];
>   >> long PMC_GC_data[4096];
>   >> }
>
>   NIS> Neat. (probe for page size?)
>
>wouldn't that best be determined at configure/build time? and made into
>a compile time constant?

I'm thinking of making it dynamic, but I'm not sure yet. On the one hand 
I'm thinking a fixed size would give the C compiler more to work with. On 
the other, if we know we're allocating a million scalars at some spot, it 
seems silly to not stick them in a single arena.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to