From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA18009; Mon, 13 May 2002 16:12:08 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA17348 for ; Mon, 13 May 2002 16:12:07 +0200 (MET DST) Received: from tkb.mpl.com ([66.109.164.210]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g4DEC6r02600 for ; Mon, 13 May 2002 16:12:06 +0200 (MET DST) Received: from tkb.mpl.com (tkb.mpl.com [66.109.164.210]) by tkb.mpl.com (8.11.6/8.11.6) with ESMTP id g4DEBv900293; Mon, 13 May 2002 10:11:59 -0400 (EDT) (envelope-from tkb@tkb.mpl.com) From: "T. Kurt Bond" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15583.51629.375383.37720@tkb.mpl.com> Date: Mon, 13 May 2002 10:11:57 -0400 To: caml-list@inria.fr Subject: [Caml-list] RE: Danvy "Functional Unparsing" style output in OCaml In-Reply-To: <15567.10506.485221.250816@tkb.mpl.com> References: <15567.10506.485221.250816@tkb.mpl.com> X-Mailer: VM 7.00 under Emacs 21.2.1 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Back on April 30th, 2002, I wrote: > Back during an earlier discussion of Danvy-style output (probably on > this [mailing list]) I implemented a simple module for this > (possibly starting from some code that flew by on the list). [...] > Cpsio is an Objective Caml implementation of the > continuation-passing-style output from Olivier Danvy's paper > Functional Unparsing. It is available from: > > http://tkb.mpl.com/~tkb/software.html I've updated the software slightly and included the results and a short explanation (in postscript and PDF) on that page of some benchmarking I did that shows that the Cpsio functions are faster than the equivalent OCaml printf functions in byte-code, and often faster in native-code, despite doing more garbage collecting. Results are also compared to the equivalent C printf functions. The web page again is: http://tkb.mpl.com/~tkb/software.html -- T. Kurt Bond, tkb@tkb.mpl.com ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners