On Thu, Dec 15, 2011 at 8:16 PM, Cedric Greevey <cgree...@gmail.com> wrote:
> public class MangledName implements IFn { > public Object invoke () { // unoptimized zero-arg version or arity > throw goes here } > public Object invoke (Object x) { // unoptimized one-arg version ... } > ... > public static long optimized (int bar, double quux, Object > fiddlefaddle, long x, long y, long z) { > // optimized version goes here > } > } This is not a good idea. You then have to know the class of the fn to do the optimized dispatch. What's currently been done has left the door open for high performance higher order usage. 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