On Fri, Jan 14, 2011 at 12:07 PM, Sam Aaron <[email protected]> wrote:
> I was wondering what purpose the '4 or fewer args' restriction serves and > therefore how you might retain the performance of this implementation with > 1.3.0-alpha4 and beyond (assuming the restriction is here to stay). Would > you have to break out into a number of smaller fns calculating the new x, y > length and angle vals? > Interfaces have to defined for every combination of primitive arguments - so you get interface explosion, thus only 4. Not ideal, but that's how it is for now. Looking at that signature (6 arguments?), that should probably be refactored anyway - sounds like a good use case for deftype. David -- 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
