Permalink
Browse files

removed hop in RT.nth, caused head retention

  • Loading branch information...
1 parent c4a5cd2 commit a1397390d8b3b63f2039359520629d87b152d717 @richhickey committed Jul 4, 2009
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/jvm/clojure/lang/RT.java
@@ -721,12 +721,6 @@ static public Object dissoc(Object coll, Object key) throws Exception{
static public Object nth(Object coll, int n){
if(coll instanceof Indexed)
return ((Indexed) coll).nth(n);
- return do_nth(coll,n);
-}
-
-static public Object do_nth(Object coll, int n){
- if(coll instanceof Indexed)
- return ((Indexed) coll).nth(n);
if(coll == null)
return null;
else if(coll instanceof String)

0 comments on commit a139739

Please sign in to comment.