[cffi-devel] [PATCH] Expand body only once for uffi:with-cstring.
23 Jul
2008
23 Jul
'08
4:54 a.m.
Got an explosion in CLSQL-PostgreSQL with a uffi:with-cstrings expansion, as 7 strings makes 128 copies of the body. On the theory that the compiler can inline flets far easier than factor them, this patch puts the body in an flet and calls the resulting function from the two contexts `with-cstring' creates. -- a Mr. Fleming wishes to study bugs in smelly cheese; a Polish woman wishes to sift through tons of Central African ore to find minute quantities of a substance she says will glow in the dark; a Mr. Kepler wants to hear the songs the planets sing. --Carl Sagan, "The Demon-Haunted World"
6041
Age (days ago)
6041
Last active (days ago)
1 comments
2 participants
participants (2)
-
Luís Oliveira
-
Stephen Compall