Zero said:
Ok, I never have quoted before...
Yes, that is also what my compiler says...
It would be the fastest way to initialize the bits, wouldn't it?
Congratulations on rapidly learning how to use google. Now the
next thing to learn is on the subject of optimization. The mantra
is: don't. Write for clarity first. Before even considering
optimization measure the performance, and also measure the
performance of the sections you are thinking of optimizing. You
will rarely find that optimization is worthwhile or even useful.
In general the compiler is better at optimization than you are, so
you should limit your trials to using whatever optimization
switches the compiler provides. Gcc provides a variety of
optimization switches, and also means of profiling and measuring
performance. What those are is off-topic here.
Algorithmic improvement is another matter, and will often pay off
heavily.
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <
http://cfaj.freeshell.org/google/>
Also see <
http://www.safalra.com/special/googlegroupsreply/>