On Sun, Oct 19, 2008 at 11:57 PM, Ted Dunning <[EMAIL PROTECTED]> wrote: >> I see some more complex cases (particularly the Float fields in many >> classes) that probably could be improved too but am being >> conservative. > > Can you point to an example? You have made me very curious.
Try BayesThetaNormalizerMapper -- I suspect, though am not totally sure, that the Float fields can be primitives. I don't see the need for it to be an object. >> Incidentally why aren't we using doubles? In cases where storage isn't >> a concern. > > > I have no idea. There may be some hold-over in traditions from Lucene, but > there are not many places any more where floats are truly better. Most > importantly, there are many cases where the extremely limited precision of > floats causes complete loss of all data. I agree. The above is another example where a double would be more appropriate I think.
