I think 1024MB is decent for "small"
it's big for an array... if the JVM doesn't break up arrays (I don't think it does) it means the OS needs to find that much contiguous memory.
do you think your users are scum?
this code is basically insane
Do we think ImmutableMap is fast or should I use arrays?
I am double thinking everything probably in a not useful way
run a profiler nub
I don't have time for that
when I profiled the existing miner all the time was spent deep in the hash libraries
yeah, and I want to keep it that way
meaning not fuck up and add dumb shit on top of that
MinMaxPriorityQueue looks sweet
exactly what I want
some time was spent copying bits into bit holders
that is where we keep them
ideally you would pass the existing bit holder into the hasher directly
I do that where I can
ok, tuning this thing is like riding a stack of unicycles