K
Kevin
(I deleted that post online, but in case someone already got it via
email)
I found out that it is not the problem of my code.
The problem is the data file: for that particular task and for that
particular data file, the data file is in a format that favor that c++
code (so that it basically can skip the hash step), while my code is a
more generalized version. If I take special care of that particular
data format, my java code can get good speed too.
Sorry for the bother.
email)
I found out that it is not the problem of my code.
The problem is the data file: for that particular task and for that
particular data file, the data file is in a format that favor that c++
code (so that it basically can skip the hash step), while my code is a
more generalized version. If I take special care of that particular
data format, my java code can get good speed too.
Sorry for the bother.