m******t 发帖数: 2416 | 1 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 |
st 发帖数: 1685 | 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
|
w********c 发帖数: 2632 | 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
|
c*****t 发帖数: 1879 | 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.:)
|