Hi, On Wednesday, March 19, 2014 3:55:22 PM UTC+1, Michał Marczyk wrote: > > Hashes are cached for Clojure collections, keywords and symbols, but > not for strings. > > I wonder if people who report these perf regressions use long string > keys in their maps...
As far as I can see, we have /lots/ of strings in sets and lots of strings as keys, but they are not particularly /long/ (usually less than 10-15 Characters). We have one hot spot in the code, where we create lots (hundreds of thousands up to millions) of sets, each containing one to five strings. I will run a few tests and see whether that makes a difference. Best, stefan -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.