mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-12-23 02:31:52 +01:00
Compare commits
2 Commits
66412465d4
...
05d1f299b8
Author | SHA1 | Date | |
---|---|---|---|
|
05d1f299b8 | ||
|
a30c0aea82 |
@ -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