Re: efficiency

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

 



Hi -

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.

  Brian

On 3/16/06, Bob Rossi <bob_rossi@xxxxxxx> wrote:
> Hi,
>
> 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?
>
> Thanks,
> Bob Rossi
>


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux