Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18624
| 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-09 02:38 -0700 |
| Organization | Canadian Mind Products |
| Message-ID | <opoo48t4on80j5t26b76fmn6p42qrl6bi1@4ax.com> (permalink) |
| References | <k2h6js$k1f$1@speranza.aioe.org> |
On Sun, 9 Sep 2012 04:40:28 +0000 (UTC), qwertmonkey@syberianoutpost.ru wrote, quoted or indirectly quoted someone who said : > Roedy, I did play with the size of the input block used for the input stream >and the files lenghts themselves and the results where the same, so 3 doesn't >seem to be the case. you want to make sure the size of the byte / char array given to the digest calculator is big so that you have the overhead of the call as infrequently as possible. You might want to do a trace to be sure you are changing that, not just some other buffering. -- 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 | Next — Previous in thread | Find similar | Unroll thread
greatly differing processing time between java and Linux while calculating hashes? qwertmonkey@syberianoutpost.ru - 2012-09-09 04:40 +0000 Re: greatly differing processing time between java and Linux while calculating hashes? Roedy Green <see_website@mindprod.com.invalid> - 2012-09-09 02:38 -0700
csiph-web