On Aug 4, 8:02 am, Mark Addleman <[email protected]> wrote: > I think there may be a somewhat straightforward solution to improving > Clojure's performance when passing primitives between functions. > Here's my understanding of the problem: The IFn interface is a series > of invoke method signatures that take a number of java.lang.Objects as > parameters and returns a java.lang.Object. Primitives can't be passed > this way and it would be a silly explosion of code to create the > methods signatures in IFn that included primitives. The performance > characteristcs of "boxing" primitives relies on the JVM's performance > of allocating and deallocating objects.
What's meant by "boxing"? Joe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---
