Re: Timing Comparison?
"David McClain (as dbm at refined-audiometrics dot com)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
Yes, that is exactly what I am doing. FWIW, SBCL has a pretty darn fast (but fastidious) compiled output on ARM. Impressive. I just wish it also had a CAPI. > On Nov 1, 2025, at 14:06, Tim Bradshaw <[email protected]> wrote: > > On 1 Nov 2025, at 06:19, David McClain (as dbm at refined-audiometrics dot com) <[email protected]> wrote: >> >> The nature of Forth is that words are created on the fly with arbitrary behavior codes. So I set up a method on the construction of every Forth word to ensure that its behavior code is a compiled function. > > You can (almost) rely on COMPILE to to this: (compile nil <thing>) will returm either <thing> or an equivalent compiled function if <thing> is already compiled. It's allowed not to return the identical object, but copy it, hence 'almost' above. > > --tim _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html