Interning a string is caching it in a string pool that lives in the jvm's permgen space. Calling .intern() on a string either adds it to the pool or return the string object that's already in the pool. This is safe to do for strings that are defined statically, generally you don't want to programmatically call .intern() on user input strings because that could blow up the permgen and cause OOM errors. Java also automatically interns its string literals.
-- 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