CMU CL's Alien interface is way too slow!

Martin Cracauer cracauer@wavehh.hanse.de
Mon, 21 Jul 1997 12:23:42 +0200 (MET DST)


> Maybe I've overseen some important detail, but as far as I can judge, CMU
> CL's "alien interface" for handling C code is _way_ too slow to be of any
> use. Just have a look at the following session: I simply create an alien
> 32-bit-word and then successively assign 100 different integers to it.
> Machine: Linux on AMD K5/133.

This is complete useless benchmark, of course. Could you please use
code for benchmarking that actually calls an alien function?

You're measuring data conversion cost. The point about CMUCL's alien
interface is that you get pretty far avoiding data conversion when
making a lot of alien calls.

I hope you compiled the code, did you? :-)

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@wavehh.hanse.de>
http://cracauer.cons.org
Fax +49 40 522 85 36