Subject: Re: What's ANSI Up To?
From: rpw3@rpw3.org (Rob Warnock)
Date: Fri, 14 Sep 2007 19:07:01 -0500
Newsgroups: comp.lang.lisp
Message-ID: <sLydnQFYDvm4v3bbnZ2dnUVZ_gednZ2d@speakeasy.net>
Ken Tilton  <kentilton@gmail.com> wrote:
+---------------
| > Geez, my first CL macro and I already committed the worst offense in
| > CL even though it was only 2 lines long. No problem, I'm here to
| > learn.
| > 
| > It was of course tongue-in-cheek, but the reason I chose a macro was
| > for efficiency. I take it from your comment that reasonable CL
| > implementations will inline the equivalent function (ignore hyphen
| > inertia for the sake of discussion), so I was prematurely optimizing.
| > Is that true?
| 
| Call me when the profiler says the function call overhead of a 
| lowercasep function is the bottleneck in your real-world application. 
| I'll be waiting by the phone.
+---------------

But don't place that call until *after* you've tried
"DECLAIM INLINE" and/or "DEFINE-COMPILER-MACRO"...


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607