don't create an IntRef in toArray
don't create an IntRef in toArray

lrytz/scala,lrytz/scala,lrytz/scala,scala/scala,scala/scala,lrytz/scala,lrytz/scala,scala/scala,lrytz/scala,scala/scala,scala/scala,scala/scala