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: guile bugs


Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> I think this should not be done, independent of any benchmark results.
> The main reason for this change would be to make sure that SCM_BOOL_F is
> not accidentally used as a boolean value.  If, instead, it would be
> possible to guarantee that using a SCM value as a boolean value will lead
> to a compile time error, everything is fine.
> 
> If I understand correctly from some previous mail, defining SCM as a
> union would serve that purpose.

If you read my /other/ mails, you would have understood that this is
not the case (due to compiler overoptimization) - performance hit, at
least with gcc, is appalling.

-- 
How to eff the ineffable?

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