Welcome to the CHICKEN Scheme pasting service

which version to use to measure runtime of code? added by certainty on Wed Mar 19 09:35:59 2014

;; version 1
(let* ((start (gettime))
       (result code)
       (stop (gettime))
  (- stop start))

;; version 2
(let ((start 0)
      (result #f)
      (stop 0))
  (set! start (gettime))
  (set! result code)
  (set! stop (gettime)
  (- stop start))
  

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the result of `(apply + (list -3 4 2))'?
Visually impaired? Let me spell it for you (wav file) download WAV