On Fri, Jan 14, 2011 at 3:03 PM, Armando Blancas
<armando_blan...@yahoo.com>wrote:

> > 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.
>
> Why the explosion, since the parameter hints indicate a specific
> signature?
>

Yes.


> >
> > Looking at that signature (6 arguments?), that should probably be
> refactored
> > anyway - sounds like a good use case for deftype.
>
> I'll hazard a guess: it should be refactored down to 4 for proper
> design!
>
> (I suspect it took just 4 args to beat Scala in popular
> microbenchmarks.)


2, one for the graphics instance, one for the data structure to hold the
other 5 arguments.

David

-- 
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

Reply via email to