Quantcast
Channel: nklein software » optimization
Browsing all 6 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Optimizing Lisp

Paul Reiners recently posted some code to the TC Lispers mailing list. The code began from Paul Graham’s ANSI Common Lisp book. Exercise 13b has you adding declarations to some code so that the...

View Article



Image may be NSFW.
Clik here to view.

Optimizing Lisp Some More

Today, I spent a large chunk of the day trying optimize a very small chunk of code. The code takes a matrix with three rows and four columns. It multiplies it by a vector that has three rows (and a...

View Article

Even More Optimization

In the previous article, I showed a chunk of code for multiplying a vector by a matrix. Nikodemus Silvola, on the sbcl-help mailing list, recommended that I change the matrix to a one-dimensional array...

View Article

Trying to Unconfound Lisp Speeds

In the original version of my Optimizing Lisp Some More article, I did a bad comparison between SBCL and Clozure. SBCL supports two different ways to declare the arguments to a function. Clozure only...

View Article

To CLOS or not to CLOS

I am working on some Lisp code. I am trying to mimic the basic structure of a large C++ project. I think the way the C++ project is structured is a good fit for the tasks involved. Most of the C++...

View Article


Speedy Matrix Multiplication in Lisp, Again…

In response to my earlier post about hidden memory allocations, Jason Cornez pointed out how to rework my loop so that Allegro wouldn’t need to allocate memory. The new structure avoids using the...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images