siko1056 wrote
If there was a clean and priceless solution of detecting this, I would
agree. But the intention to leave the Octave language by using
oct/mex-files is to get fast code. I would bother more passing expensive
checks each time calling a oct/mex-file, than recompiling everything at
startup, if necessary.
I'd say stability is more important than performance. Furthermore, for a
fast code, I typically do not call an oct-file several times but I rather
call it once with a "heavy" computation. In this case a single additional
check when calling seems tolerable to me.
Bye
Sebastian