>> Furthermore, in the "char *"-case the pointer is stored in memory.
>
>It has to be, no matter of optimalization level. Some other module
>might access that variable. You _could_ do static const char *..., but
>it would probably not help.
I know that the pointer is NEEDED (from the compilers pov
Hi!
> Hello everybody,
>
> looking through the sources I found several pieces like
> lib/vsprintf.c, line 111:
> const char *digits="0123456789abcdefghijklmnopqrstuvwxyz";
>
> As tested with egcs-2.91.60 even with -O3 there is a difference
> between
> const char *digits="0123456789
Hello everybody,
looking through the sources I found several pieces like
lib/vsprintf.c, line 111:
const char *digits="0123456789abcdefghijklmnopqrstuvwxyz";
As tested with egcs-2.91.60 even with -O3 there is a difference
between
const char *digits="0123456789abcdefghijklmnopqrs
3 matches
Mail list logo