mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-10 19:29:26 +01:00
Merge a30c0aea829ea2fd71ea32ac7114012527d37d82 into fb54d8b54984f89f7dba90a18e7c3048421464c3
This commit is contained in:
commit
05d1f299b8
@ -7,7 +7,7 @@ import com.twitter.search.earlybird.search.queries.SinceUntilFilter;
|
|||||||
|
|
||||||
public abstract class AbstractInMemoryTimeMapper implements TimeMapper {
|
public abstract class AbstractInMemoryTimeMapper implements TimeMapper {
|
||||||
// Reverse map: timestamp to first doc ID seen with that timestamp.
|
// Reverse map: timestamp to first doc ID seen with that timestamp.
|
||||||
// This is two arrays: the timestamps (sorted), and the doc ids.
|
// These are two arrays: the timestamps (sorted), and the doc ids.
|
||||||
protected final IntBlockPool reverseMapTimes;
|
protected final IntBlockPool reverseMapTimes;
|
||||||
protected final IntBlockPool reverseMapIds;
|
protected final IntBlockPool reverseMapIds;
|
||||||
protected volatile int reverseMapLastIndex;
|
protected volatile int reverseMapLastIndex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user