|
From: Andrew H. <and...@gm...> - 2015-12-29 12:33:16
|
Hi there, TLDR: Could javaxdelta just use HashMap<Long,Integer> instead of Trove's LongIntHashMap and, if not, why? Longer: I've been playing around with javaxdelta for a while and I'd like to be able to import it into a few places without having to drag along GNU Trove as a dependency just for these two files to use LongIntHashMap: http://sourceforge.net/p/javaxdelta/code/HEAD/tree/trunk/javaxdelta/src/main/java/com/nothome/delta/Checksum.java http://sourceforge.net/p/javaxdelta/code/HEAD/tree/trunk/javaxdelta/src/main/java/com/nothome/delta/text/Checksum.java It seems like the dependency was added in r33, but there's no indication in the commit message of why: http://sourceforge.net/p/javaxdelta/code/33/ Was there a specific performance concern being addressed here for big files with lots of chunks, or am I missing something? Thanks, Andrew |