Adam Warner <[EMAIL PROTECTED]> writes: > Now try this speed test: > (compile-file "matrix.lisp") (compile-file "matrix2.lisp") (load "matrix.x86f") > (time (main)) (load "matrix2.x86f") (time (main2)) > > On my system (CMUCL current on x86) matrix2 is consistently slower. It > is not obvious why this should so because of the global > proclamation.
I performed exactly the steps you describe, and get CL-USER ==> (time (main)) 270165 1061760 1453695 1856025 ; Evaluation took: ; 3.16 seconds of real time ; 3.112721 seconds of user run time ; 0.0 seconds of system run time ; 5,352,395,192 CPU cycles ; 0 page faults and ; 13,536 bytes consed. ; nil CL-USER ==> (l "/tmp/matrix2") t CL-USER ==> (time (main2)) 270165 1061760 1453695 1856025 ; Evaluation took: ; 3.13 seconds of real time ; 3.103055 seconds of user run time ; 0.0 seconds of system run time ; 5,311,413,260 CPU cycles ; 0 page faults and ; 13,536 bytes consed.
