hi!
when i was optimizing time functions in osicat i was pondering that cffi:defcfun could add an ftype declaim to the emitted defun based on the ffi types.
it may be only a heuristic, but most of the time the return value could be annotated which would help the compiler.
it would also be useful if there was a way to tell defcfun to declare the emitted defun to be inline.
</random ideas>