Redian新闻
>
talk about benchmarking java
avatar
st
2
this site has a sun logo on the left, what do you expect?
I even read a java book which claims java might be faster since GC might
save time when it comes to frequent large object claim/release... which
has no logic in his claim, IMHO...

【在 m******t 的大作中提到】
: and fighting language wars, you guys are not
: the only people who don't have better things to do. 8-)
: http://www.theserverside.com/news/thread.tss?thread_id=25743

avatar
w*c
3
oh my god. they must be some freelance workers who have nothing else to do.:)

【在 m******t 的大作中提到】
: and fighting language wars, you guys are not
: the only people who don't have better things to do. 8-)
: http://www.theserverside.com/news/thread.tss?thread_id=25743

avatar
c*t
4
There are couple problems pointed out by some people
1. str2 and str3 are the same object. saves comparison
2. java use pascal type string (with strlen stored in the string),
so it saves comparison quite a bit.
Also, actual comparison could very well be done by native code.
So, this benchmark is flawed. (It is also obvious that Java version
couldn't possibily be faster than C version if test is done correctly).
As for my experience working with large images in Java. It is slow.
Very slow.

【在 w********c 的大作中提到】
: oh my god. they must be some freelance workers who have nothing else to do.:)
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。