Subject: Re: [MOP] add-method question From: Erik Naggum <email@example.com> Date: 1999/11/16 Newsgroups: comp.lang.lisp Message-ID: <firstname.lastname@example.org> * "H. Tunc Simsek" <simsek@EECS.Berkeley.Edu> | On another note, CMUCL says that | | (make-array 10 :element-type 'double-float) | | is not a simple vector. that's because a simple vector has element-type t by definition. (and it has only one dimension, is not adjustable, has no fill-pointer, and is not displaced to another array, but you got that right, already.) | As such it doesn't allow SVREF to access it. It prevents optimizing a | heavy computation (runge-kutte 4th order integration). if you declare it as the type it is, CMUCL will optimize it very well, and it won't even box the double-floats it extracts if they are only used very locally, with high optimize/speed settings. CMUCL will tell you what you need to declare if you jack up the speed setting. #:Erik -- Attention Microsoft Shoppers! MS Monopoly Money 6.0 are now worthless.