From ... From: Erik Naggum Subject: Re: [MOP] add-method question Date: 1999/11/16 Message-ID: <3151727397715663@naggum.no>#1/1 X-Deja-AN: 549179574 References: <3831044D.C6FFE407@EECS.Berkeley.Edu> mail-copies-to: never X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 942738602 29161 193.71.66.49 (16 Nov 1999 07:50:02 GMT) Organization: Naggum Software; +47 8800 8879 or +1 510 435 8604; fax: +47 2210 9077; http://www.naggum.no NNTP-Posting-Date: 16 Nov 1999 07:50:02 GMT Newsgroups: comp.lang.lisp * "H. Tunc Simsek" | 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.