On Sat, Dec 7, 2013 at 3:05 PM, Christopher Sean Morrison <[email protected]> wrote: > > On Dec 7, 2013, at 3:37 PM, Tom Browder wrote: > >> Oops, blind again--that should be color_fix whose sig is: >> >> void color_fix(const struct bu_structparse *, const char *, char *, >> const char *) > > That makes more sense and fits conversion to the proposed. > >> Note that in my sig list I removed 'register' which is used in several >> sigs. I don't think its presence or absence affects a func signature >> but I may be wrong. Is it okay to remove such? > > Yes, they're okay to remove them there.
Okay. > Alas, they shouldn't be removed everywhere throughout the code as testing > even recently did demonstrate a measurable performance drop. Apparently, we > do have them in some useful/critical places where the hints help the compiler. Well, that's good to know--much of the "old wives' tales" I sometime read talks about how modern compilers mostly take care of such and 'register' is almost obsolete. BTW, before I sent my last message I looked up 'register' in my brand new Stroustrup "TThe C++ Programming Language" (4ed) and it's nowhere to be found! Then I found that it's deprecated in c++11. -Tom ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
