This is the mail archive of the guile@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: structs, records, SMOBs etc.



> [1] I'm writing a lot of scm->C and C->scm translations into everything,
>     they don't seem to make much difference to the speed (though they
>     can't be helping) but they do obfuscate the code and forgetting to
>     include a translation (especially C->scm) is usually instant segmentation
>     violation signals.

Why aren't you getting typecheck errors?  The scheme values should be
of type "SCM", and the C values should be pointers or something.

That would be quicker than waiting for segfaults.