Since every score is of the form (tf * idf * 1024. + .5), and idf is
loop-invariant, save a little time by multiplying idf by 1024. outside the loop.
Showing
Please register or sign in to comment
loop-invariant, save a little time by multiplying idf by 1024. outside the loop.