On Mon, Jun 21, 2010 at 12:40 PM, Tim Daly <d...@axiom-developer.org> wrote:
> This debate happened many years ago for common lisp. > > The flag *use-primitive-as-default* is a big help for optimization. Most >> of the performance hits of boxing do not show in profiling. >> (It slows down a lot of functions, by memory access and - more importantly >> - filling the cache with garbage, that do not seem to be arithmetic-heavy) >> > Except for renaming this appears to be the common lisp > (proclaim (safety 0) (speed 3)) > > >> The do-not-worry default allows an easy learning curve. >> >> Except for renaming this appears to be the common lisp > (proclaim (safety 3) (speed 0)) > > Rich explicitly said he did not want this solution. > > Tim Daly > > I though his concern was mainly readability, but maybe I misread. Anyway (set! *default-integers* :boxed) or (set! *default-integers* :long) seems easier to understand. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en