[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PCL 70 times slower than Ernie with 1000 cars.
- To: CommonLoops.pa@Xerox.COM
- Subject: Re: PCL 70 times slower than Ernie with 1000 cars.
- From: Nat Ballou <ballou@RACINE.ACA.MCC.COM>
- Date: Wed, 16 Nov 88 08:43 CST
- Cc: burdorf%taos@rand.org
- Postal-address: 3500 West Balcones Ctr. Dr., Austin, TX 78759
- Redistributed: CommonLoops.pa
---> Who would ever want to measure the performance of code like this????
(defun write-car-instance ( num)
(let ((rnum (random num))
(instance (intern (format nil "AUTO-~D" num))))
------
(setq autoinstances (cons instance autoinstances))
(eval `(defvar ,instance (make-autos
---- ------ ':autos-ashtray-contents (case (rem ,rnum 3)
(0 'ashes)
(1 'gum)
(2 'money)))))))