MarginaliaSearch/code/index/java/nu/marginalia
Viktor Lofgren 19163fa883 (array) Clean up the Array library
IntArray gets the YAGNI axe.   The array library had two implementations, one for longs which was used, and one for ints, which only ever saw bit rot.   Removing the latter, as all it ever did was clutter up the codebase and add technical debt.  If we need int arrays, we fork LongArray again (or add int capabilities to it)

Also cleaning up the interfaces, removing layers of redundant abstractions and adding javadocs.

Finally adding sz=2 specializations to the quick- and insertion sort algorithms.  It seems the JIT isn't optimizing these particularly well, this is an attempt to help it out a bit.
2024-05-18 13:23:06 +02:00
..
index (array) Clean up the Array library 2024-05-18 13:23:06 +02:00
ranking (ranking) TermCoherenceFactory should be run for size=2 queries 2024-04-24 14:44:39 +02:00