home *** CD-ROM | disk | FTP | other *** search
- From: ted@hpkslx.mayfield.HP.COM (Ted Johnson)
- Date: Thu, 12 Nov 1992 01:39:28 GMT
- Subject: CPS-conversion for better performance?
- Message-ID: <1060001@hpkslx.mayfield.HP.COM>
- Organization: HP Response Center Lab
- Path: sparky!uunet!munnari.oz.au!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sdd.hp.com!hpscit.sc.hp.com!scd.hp.com!hpscdm!hplextra!hpcc05!hpkslx!ted
- Newsgroups: comp.lang.lisp
- Lines: 15
-
- Does anyone know of any journal articles or other research which
- comment on the effectiveness of using CPS (Continuation Passing Style)
- conversion to reduce memory requirements of Lisp code?
-
- The basic idea is to take a (huge) generic Lisp program, pipe the source
- through a CPS-conversion program, which emits an equivalent CPS-style
- Lisp program, and then running that, while enjoying a reduced memory usage.
- [The CPS-conversion converts "normal" recursion to tail recursion.]
-
- Rather than reinvent the wheel, I thought I'd first see if anyone has
- done any experimentation in this area.
-
- Thanks!
-
- -Ted
-