mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Why do userid & itemid have to be long?
Date Wed, 01 Jun 2011 06:00:32 GMT
Preallocation matters almost not at all for Java HashMaps.

This is just slow.  Full stop.

On Tue, May 31, 2011 at 10:13 PM, Lance Norskog <goksron@gmail.com> wrote:

> Also, you can tell HashMap you'll be adding lots of entries when it
> starts. This might help it run faster. But, yes, this is bizarrely
> slow.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message