In your specific case, where you want every last inch of performance, it is 
acceptable that you will need to use the optimized idiom. However, if your 
overall code did anything else besides banging hard against your algorithm, 
a performance say 5 times worse than Java may soon become acceptable. In my 
case, for example, I managed to get the time low enough to be drowned out 
by index reading times inside Lucene. If I could have achieved that without 
involving arrays, loops, and defrecords, I wouldn't have a reason to 
complain.

On Wednesday, February 27, 2013 2:29:21 PM UTC+1, Luc wrote:
>
> Well then lets stop trying to twist the code further. Commenting that 
> Clojure "looses" 
> in these benchmarks or is pushed in the same backyard than ruby is counter 
> productive. 
>
> What I have seen so far is pulling toward extreme contorsions to achieve 
> better performance at the expense of code readability. 
>
> Chritophe's example is how much far I would go while tuning the code to 
> get more 
>  speed out of it. 
>
> Beyond this let's open the hood and look at the internals then... 
>
>
> Luc 
>
>
> > On Wednesday, February 27, 2013 12:53:14 AM UTC+1, Luc wrote: 
> > 
> > > 
> > > Why insist on getting Clojure to be at par with languages that may 
> offer a 
> > > performance 
> > > boost on narrow problems at the expense of making parallel processing 
> and 
> > > code 
> > > in general more complex everywhere else ? 
> > > 
> > 
> > This doesn't represent anyone's view as expressed in this thread. The 
> goal 
> > is *better* (not *best*) performance *without* compromising the good 
> > features that make Clojure a joy that it is. The goal is to let people 
> > enjoy the nice features in as much of the codebase as possible. 
> > 
> > -- 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Clojure" group. 
> > To post to this group, send email to clo...@googlegroups.com<javascript:> 
> > Note that posts from new members are moderated - please be patient with 
> your first post. 
> > To unsubscribe from this group, send email to 
> > clojure+u...@googlegroups.com <javascript:> 
> > 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+u...@googlegroups.com <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
> > 
> -- 
> Softaddicts<lprefo...@softaddicts.ca <javascript:>> sent by ibisMail from 
> my ipad! 
>

-- 
-- 
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/groups/opt_out.


Reply via email to