Login
7 branches 0 tags
Ben (X13/Arch) Changed order in Nujel Perf. report f62b819 3 years ago 806 Commits
nujel / benchmark / euler1 / emacs-lisp.el
(require 'cl-lib)
(defun test ()
  (let ((ret 0))
    (dotimes (i 10000000)
      (when (or (zerop (mod i 3))
                (zerop (mod i 5)))
                (cl-incf ret i)))
    ret))
(byte-compile 'test)

(princ (format "THE SUM IS %d\n" (test)))