Yes that's what I said there, I think. Both are large. This is not a
critical issue. Koloboke was faster for me but depends on what you're
doing. I like the API a bit better and more modern IMHO; this is why I
prefer it really. It plays better with Java 8.
On Jan 18, 2015 3:27 PM, "Sebastiano Vigna" <vi...@di.unimi.it> wrote:

>
> > On 18 Jan 2015, at 09:18, Sean Owen <sro...@gmail.com> wrote:
> >
> > FWIW I prefer Koloboke at this stage. Fastutil is Apache licensed, both
> > are. The only drawback is the massive size of the dependency.
>
> Huh? Koloboke's implementation jar is *larger* than fastutil's! Check on
> Maven Central.
>
> In the typical range of sparse vectors, fastutil is also slightly faster.
>
> tests.maptests.prim_object.FastUtilIntObjectMapTest (10000) =
> 796.4631357999999
> tests.maptests.prim_object.HftcIntObjectMapTest (10000) = 901.6948074
> tests.maptests.prim_object.FastUtilIntObjectMapTest (100000) = 1109.0534656
> tests.maptests.prim_object.HftcIntObjectMapTest (100000) = 1172.1181604
>
> (This are get() calls on int -> Object maps, performance on int -> doubles
> will be equivalent).
>
> The difference might vanish soon though, as after the
> java-performance.info tests everybody is looking at everybody else's code.
>
> Ciao,
>
>                                         seba
>
>

Reply via email to