>From http://clojure.org/java_interop#toc27 :
"Clojure supports the creation, reading and modification of Java arrays. It is recommended that you limit use of arrays to interop with Java libraries that require them as arguments or use them as return values." What are the reasons for this caveat? If I receive a float array from some Java function, and want to pass it on to the rest of my program, should I think about copying it to a persistent vector? Sounds expensive. What do I give up by not doing so? Thanks, Hugh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---
