[Toybox] (no subject)

Isaac Dunham idunham at lavabit.com
Tue Apr 16 10:41:10 PDT 2013


On Wed, 17 Apr 2013 00:18:59 +0900
Kyungwan Han <asura321 at gmail.com> wrote:

> And I find out that const char * is replaced with char *.
> I have a question here.
> Is there any special benefit?
> 
> or
> 
> Is it just about coding style?
> I could make better code next time, if somebody let me know it.

I forget where Landley commented on this, but he mentioned a few issues:
-tends to cascade and require extra copies.
-overly verbose
-although it supposedly allows extra optimizations, those optimizations don't really happen.

So it's mostly style, with a small effect on binary and source bloat.

HTH,
Isaac Dunham




More information about the Toybox mailing list