This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gh_symbol2scm



    Lynn> Q: Is there any reason that gh_symbol2scm(char *) isn't
    Lynn> gh_symbol2scm(const char *)?

Not that I can think of.  I guess I'm old school, from before there
were "const char *" declarations, so I never think of doing that.

Can the compiler optimize better it you tell it that the string will
not be mutated?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]