Re: Performance optimizations dealing with java collections

2013-06-19 Thread Tim Jones
e this? > > (String/format (.get link 1) (doto (make-array String 1) (aset 0 (.get > link 2))) > > I'm not suggesting that's idiomatic, but if it addresses the issue then > you can focus on the difference and look for a happy medium. > > > On Tue, Jun 18, 2013 at 4

Re: Performance optimizations dealing with java collections

2013-06-18 Thread Tim Jones
On Tuesday, June 18, 2013 9:58:20 AM UTC-7, Michael Klishin wrote: > > 2013/6/18 Tim Jones > > >> How do I get to near-java performance? > > > Start by providing a snippet of your code and profiling. > > Great. Here's the context: iterate through a list of

Re: Performance optimizations dealing with java collections

2013-06-18 Thread Tim Jones
e a polemic for clojure and "the java version of this program is 30% faster" isn't where I want to start. Am I missing something? On Monday, June 17, 2013 3:34:07 PM UTC-7, Tim Jones wrote: > > I'm working on a small clojure program which pulls data from a custom > me

Performance optimizations dealing with java collections

2013-06-17 Thread Tim Jones
I'm working on a small clojure program which pulls data from a custom memory-backed data store via a java api. When looking at performance, there is a hotspot at the point of interaction with this API. One of the fields of each record being exported contains a list of lists of strings (List>)

Re: A tutorial for how to setup your clojure development environment for: Emacs, Leiningen and Linux.

2012-06-14 Thread Tim Jones
On Thu, Jun 14, 2012 at 10:31:44AM -0700, Phil Hagelberg wrote: > On Wed, Jun 13, 2012 at 8:01 PM, David Della Costa > wrote: > > Similarly, it's easy to > > get lost (as a beginner) between namespace issues with packages and > > how to set things up properly with Leiningen.  It'd be good to have