public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* efficiency
@ 2006-03-17  1:49 Bob Rossi
  2006-03-17  1:58 ` efficiency Brian Budge
  0 siblings, 1 reply; 4+ messages in thread
From: Bob Rossi @ 2006-03-17  1:49 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-17 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-17  1:49 efficiency Bob Rossi
2006-03-17  1:58 ` efficiency Brian Budge
2006-03-17  2:06   ` efficiency Bob Rossi
2006-03-17 13:23     ` efficiency Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).