Directory | Tags | Index | LinkIt | Submit   | Help
    Wednesday, 17 September 2014 - anonymous
Login/Register to vote and to have access to more features

You are here: Root > Programming Languages > Common Lisp > Metaobject Protocol

CLOS Efficiency: Instantiation -- On the Behavior and Performance of Lisp, Part 2.1
Created by didier on: Tue, 28 Apr 2009 07:54:14 GMT, Last modification: Tue, 28 Apr 2009 07:54:14 GMT

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++.

Document location: http://www.lrde.epita.fr/~didier/research/publis.php#verna.09.ilc

Authors

Didier Verna

Tags

Metaobject Protocol | CLOS | Common Lisp | Papers | Learning | Information

0 Notes and 0 comments

0 Notes

You must be logged to add a note


0 Comments

You must be logged to add a comment