mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-12-22 18:21:51 +01:00
Merge a30c0aea82
into 72eda9a24f
This commit is contained in:
commit
66412465d4
@ -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…
Reference in New Issue
Block a user