Conference paper Open Access

CLOS Efficiency: Instantiation

Verna, Didier

This article reports the results of an ongoing experimental research on the behavior and performance of CLOS, the Common Lisp Object System. Our purpose is to evaluate the behavior and performance of the 3 most important characteristics of any dynamic object oriented system: class instantiation, slot access and dynamic dispatch. This paper describes the results of our experiments on instantiation. We evaluate the efficiency of the instantiation process in both C++ and Lisp under a combination of parameters such as slot types or classes hierarchy. We show that in a non-optimized configuration where safety is given priority on speed, the behavior of C++ and Lisp instantiation can be quite different, which is also the case amongst different Lisp compilers. On the other hand, we demonstrate that when compilation is tuned for speed, instantiation in Lisp can become faster than in C++.

Files (585.4 kB)
Name Size
verna.09.ilc.pdf
md5:155e2d085ae43c681b4277946482b6ff
312.0 kB Download
verna.09.ilc.slides.pdf
md5:6aa2c4ea91cacd431065c1c5ec6b4f99
273.4 kB Download
3
7
views
downloads
All versions This version
Views 33
Downloads 77
Data volume 2.1 MB2.1 MB
Unique views 33
Unique downloads 44

Share

Cite as