Ken Tilton <firstname.lastname@example.org> 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 Warnock <email@example.com>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607