I was able to make this go away by adding a method to Numbers.java.  I
have a use case where I'm calling bit-and with two longs tens of
millions of times.  Is there another way I could avoid this reflection
without this change to the Java source?


diff --git a/src/jvm/clojure/lang/Numbers.java b/src/jvm/clojure/lang/
Numbers.java
index 2aaabee..0eeee51 100644
--- a/src/jvm/clojure/lang/Numbers.java
+++ b/src/jvm/clojure/lang/Numbers.java
@@ -1880,6 +1880,10 @@ static public int and(int x, int y){
        return x & y;
 }

+static public long and(long x, long y){
+       return x & y;
+}
+
 static public int or(int x, int y){
        return x | y;
 }

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