Skip to content

Commit 6f913b4

Browse files
committed
removed sharing in registerConstant
1 parent 3aee36c commit 6f913b4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/jvm/clojure/lang/Compiler.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4159,9 +4159,6 @@ private static int registerConstant(Object o){
41594159
if(!CONSTANTS.isBound())
41604160
return -1;
41614161
PersistentVector v = (PersistentVector) CONSTANTS.get();
4162-
int i = v.indexOf(o);
4163-
if(i >= 0)
4164-
return i;
41654162
CONSTANTS.set(RT.conj(v, o));
41664163
return v.count();
41674164
}

0 commit comments

Comments
 (0)