Hadoop 2.5.1
More optimization to avoid bottlenecking on object allocation: handle top-N directly with a Queue and use custom DoubleFunction