LINUX.ORG.RU

История изменений

Исправление necromant, (текущая версия) :

Я сегодня первый раз в жизни, осознанно, запустил Common Lisp код

Мои поздравления :)

Правильнее делать бенчмарк всё же используя внутреннюю функцию time:

➤ sbcl                                                                                                                                     
This is SBCL 2.5.3, an implementation of ANSI Common Lisp.
...
See the CREDITS and COPYING files in the distribution for more information.
* (load "e.lisp")
T
* (time (main))
4999950000
Evaluation took:
  24.401 seconds of real time
  24.421451 seconds of total run time (21.707460 user, 2.713991 system)
  [ Real times consist of 4.228 seconds GC time, and 20.173 seconds non-GC time. ]
  [ Run times consist of 4.230 seconds GC time, and 20.192 seconds non-GC time. ]
  100.08% CPU
  56,220,594,890 processor cycles
  80,000,782,912 bytes consed
  
NIL

Исходная версия necromant, :

Я сегодня первый раз в жизни, осознанно, запустил Common Lisp код

Мои поздравления :)

Правильнее делать бенчмарк всё же используя внутреннюю функциию time:

➤ sbcl                                                                                                                                     
This is SBCL 2.5.3, an implementation of ANSI Common Lisp.
...
See the CREDITS and COPYING files in the distribution for more information.
* (load "e.lisp")
T
* (time (main))
4999950000
Evaluation took:
  24.401 seconds of real time
  24.421451 seconds of total run time (21.707460 user, 2.713991 system)
  [ Real times consist of 4.228 seconds GC time, and 20.173 seconds non-GC time. ]
  [ Run times consist of 4.230 seconds GC time, and 20.192 seconds non-GC time. ]
  100.08% CPU
  56,220,594,890 processor cycles
  80,000,782,912 bytes consed
  
NIL