home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.lisp:3321 comp.lang.lisp.mcl:2071
- Newsgroups: comp.lang.lisp,comp.lang.lisp.mcl
- Path: sparky!uunet!gatech!destroyer!fmsrl7!lynx.unm.edu!nmsu.edu!opus!ted
- From: ted@nmsu.edu (Ted Dunning)
- Subject: Re: Measuring elapsed CPU time
- In-Reply-To: emcoop@bnr.ca's message of Thu, 21 Jan 1993 14:18:40 GMT
- Message-ID: <TED.93Jan21130124@zeste.nmsu.edu>
- Sender: usenet@nmsu.edu
- Organization: Computing Research Lab
- References: <1jlr7cINNep1@mensa.usc.edu> <EMCOOP.93Jan21091840@bcars148.bnr.ca>
- Date: Thu, 21 Jan 1993 20:01:24 GMT
- Lines: 18
-
-
- In article <EMCOOP.93Jan21091840@bcars148.bnr.ca> emcoop@bnr.ca (hume
- smith) writes:
-
- this sort of thing needs a macro.
-
- or a thunk.
-
- in your construct, the form has
- been evaled by the time the function starts, and all your timer
- ends up timing is how long it takes the evaluator to find the value
- of the symbol "form".
-
- absolutely true.
-
-
- you can also wrap up the expression inside a lambda expression and
- apply that inside the timer function if you prefer the scheme style.
-