help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QUESTION: obstack, size of new chunk?


From: Sean Nakasone
Subject: QUESTION: obstack, size of new chunk?
Date: Sat, 3 Jan 2015 10:15:15 -1000

Hi, lib/obstack.c has a function, _obstack_newchunk(). 

there's a formula used to calculate a variable new_size

new_size = (obj_size + length) + (obj_size >> 3) + h->alignment_mask + 100;

i understand obj_size + length, but what's the other stuff for?

thanks,
Sean

Sent from my iPhone



reply via email to

[Prev in Thread] Current Thread [Next in Thread]