mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 13:19:02 +00:00
![]() 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. |
||
---|---|---|
.. | ||
java/nu/marginalia/index | ||
test/nu/marginalia/index/query/filter | ||
build.gradle | ||
readme.md |
Index Query
Contains interfaces and primitives for creating and evaluating queries against the indices.
Central to interacting with the query interface is the IndexQuery
class. This class is used
to create and evaluate queries against the index. The class will fill a LongQueryBuffer
with
the results of the query.
This is a relatively light library consisting of a few classes and interfaces. Many of the interfaces are implemented within the index-service module.
Central Classes
See Also
- index/index-reverse implements many of these interfaces.
- libraries/array
- libraries/array/.../LongQueryBuffer