Skip to content

Instantly share code, notes, and snippets.

j3pic

Block or report user

Report or block j3pic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@j3pic
j3pic / slow.lisp
Last active May 20, 2019
Program to test the performance of Lisp file I/O.
View slow.lisp
;; It is often said that Lisp macros need not be used for optimization purposes. This
;; is an exception. SBCL issued the following warning when compiling the MAKE-ARRAY call
;; below:
;; ; note: unable to optimize because: ELEMENT-TYPE is not constant.
;; I don't want to lose the ability to decide which ELEMENT-TYPE to use by using
;; an :ELEMENT-TYPE argument, so I have to arrange for this argument to be processed
;; at compile time.
You can’t perform that action at this time.