[cffi-devel] Performance of CFFI:PARSE-TYPE

Hans Hübner hans at huebner.org
Fri May 30 14:21:53 UTC 2008


Hi,

I have recently switched to using the cffi+lotsastuff version and I
find it very slow for certain applications.  The reason for this is
that PARSE-TYPE is called from FOREIGN-TYPE-SIZE, and PARSE-TYPE is
very expensive.  It would be relatively easy to cache the type parsing
results in a hash table, but before moving forward in that direction,
I'd like to know what your opinions on this is.

Thanks,
Hans



More information about the cffi-devel mailing list