I recently ran into some code** that was in Java, and ran in single
digit microseconds (not millis). I converted it to clojure, and got it
running at about the same speed... though it did take me a day to
figure out all the tweaks.

It can be done, if you're willing to invest the time and learn the tricks.

Cheers, Jay

** the code was doing some simple math (e.g. adding and multiplying)

On Tue, Mar 27, 2012 at 2:26 PM, David Nolen <dnolen.li...@gmail.com> wrote:
> On Tue, Mar 27, 2012 at 2:18 PM, Mark Engelberg <mark.engelb...@gmail.com>
> wrote:
>>
>> On Mon, Mar 26, 2012 at 3:37 AM, Sergey Didenko <sergey.dide...@gmail.com>
>> wrote:
>>>
>>> Hi,
>>>
>>> I believe I've heard claims that nothing stops Clojure 1.3 code to be
>>> made very close to Java in terms of execution speed.
>>>
>>
>> My personal experience is that it is very difficult to get Java execution
>> speed.
>
>
> And that hasn't been my personal experience at all. But I agree that it's
> not obvious how to do it - thus we now have test.benchmark - to provide such
> a resource.
>
> I have yet to encounter a performance bottleneck on this mailing list,
> StackOverflow, or anywhere else that does not have a good solution.
>
> But no need to search the Internets - gvec.clj is a pretty good "real world"
> measure of the kind perf that can be achieved if you spend some time with
> the language's performance tools.
>
> David
>
> --
> 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 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

Reply via email to