Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18614

Re: greatly differing processing time between java and Linux while calculating hashes?

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: greatly differing processing time between java and Linux while calculating hashes?
Date 2012-09-08 19:53 -0700
Organization Canadian Mind Products
Message-ID <r21o48pi8ptohvd7icktbagn3p85olhtq3@4ax.com> (permalink)
References <k2gvov$8bn$1@speranza.aioe.org>

Show all headers | View raw


On Sun, 9 Sep 2012 02:43:43 +0000 (UTC),
qwertmonkey@syberianoutpost.ru wrote, quoted or indirectly quoted
someone who said :

I think you will find the function in handled by native methods. So it
has little to do with the difference between Java and C.  Factors:
1. how optimised the code is for your CPU
2. how smart the C compiler is.
3. how big your blocks are.  You have to traverse the "blood-brain"
barrier for each call.

-- 
Roedy Green Canadian Mind Products http://mindprod.com
A new scientific truth does not triumph by convincing its opponents and making them see the light,
but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
~ Max Planck 1858-04-23 1947-10-04 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

greatly differing processing time between java and Linux while calculating hashes? qwertmonkey@syberianoutpost.ru - 2012-09-09 02:43 +0000
  Re: greatly differing processing time between java and Linux while calculating hashes? Roedy Green <see_website@mindprod.com.invalid> - 2012-09-08 19:53 -0700
  Re: greatly differing processing time between java and Linux while calculating hashes? markspace <-@.> - 2012-09-08 20:19 -0700
    Re: greatly differing processing time between java and Linux while calculating hashes? Lew <lewbloch@gmail.com> - 2012-09-09 12:07 -0700
      Re: greatly differing processing time between java and Linux while calculating hashes? Patricia Shanahan <pats@acm.org> - 2012-09-09 12:17 -0700
        Re: greatly differing processing time between java and Linux while calculating hashes? markspace <-@.> - 2012-09-09 13:28 -0700
  Re: greatly differing processing time between java and Linux while calculating hashes? Robert Klemme <shortcutter@googlemail.com> - 2012-09-09 22:35 +0200

csiph-web