Fri Mar 17 01:58:00 GMT 2006
This is not really a gcc question, and it should really be asked
elsewhere... however, it's unlikely that this occasional dereference
will adversely affect performance.
On 3/16/06, Bob Rossi <email@example.com> wrote:
> I'm currently writing a patch to bison, and can not afford to effect
> it's efficiency.
> Theoretically, a function in bison uses a local variable named "lfoo" and
> a global variable named "gfoo". I need to pack both of these into a struct,
> named "sfoo".
> If the function currently uses the variables directly like 'lfoo = 0;',
> will changing them to 'sfoo_obj->lfoo = 0;' effect the efficiency of the
> program in regards to speed?
> Bob Rossi
More information about the Gcc-help