[cffi-devel] defcfun optimization idea

Attila Lendvai attila.lendvai at gmail.com
Tue May 13 15:51:11 UTC 2008


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>

-- 
 attila



More information about the cffi-devel mailing list