This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
kawa cvs now inlines map and for-each
- To: kawa at sources dot redhat dot com
- Subject: kawa cvs now inlines map and for-each
- From: Per Bothner <per at bothner dot com>
- Date: 13 Dec 2000 21:40:32 -0800
Kawa now inlines the map as well as the for-each standard
Scheme procedures. This should be especially beneficial when
the mapped-over procedure is a lambda expression, since in
that case that procedure also gets inlined, and the call
is equivalent to a loop. As we've found out, the Kawa testsuite
doesn't test this kind of inlining very well, so let me know if
there are problems. If this changes noticable speeds up (or
slows down) one of your applications, I'd love to hear that as well.
I also added the reverse! function, which is like reverse, but
reverse "in place" - i.e. it reuses the input's cons cells.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/