[1/7] cmd: Fix FOR tab handling (try 3)

Frédéric Delanoy frederic.delanoy at gmail.com
Thu Aug 25 01:59:25 CDT 2011


On Thu, Aug 25, 2011 at 01:06, Octavian Voicu <octavian.voicu at gmail.com> wrote:
> 2011/8/25 Frédéric Delanoy <frederic.delanoy at gmail.com>:
>> +  const WCHAR inW[] = {'i','n'};
>> +  const WCHAR doW[] = {'d','o'};
> ...
>
> Hello,
>
> After these patches get in, it might be a good idea to make all these
> strings static. Even if they are const, the compiler still needs to
> generate code to initialize the arrays on the stack each time the
> function is called, element by element -- larger code size and slower.

Actually some of those (with slight differences) were used in multiple
functions/files.
I'll send a patch "rationalizing" that later.

Frédéric



More information about the wine-devel mailing list