Use rangeVersion indicating < instead of >
This should allow us to use firstGeq (which should be possible to make more efficient), and generally make things nicer
This commit is contained in:
12
Internal.h
12
Internal.h
@@ -393,18 +393,6 @@ struct ReferenceImpl {
|
||||
this->oldestVersion = oldestVersion;
|
||||
}
|
||||
|
||||
void printLogical(std::string &result) {
|
||||
for (const auto &[k, v] : writeVersionMap) {
|
||||
std::string key;
|
||||
for (uint8_t c : k) {
|
||||
key += "x";
|
||||
key += "0123456789abcdef"[c / 16];
|
||||
key += "0123456789abcdef"[c % 16];
|
||||
}
|
||||
result += key + " -> " + std::to_string(v) + "\n";
|
||||
}
|
||||
}
|
||||
|
||||
int64_t oldestVersion;
|
||||
std::map<std::string, int64_t> writeVersionMap;
|
||||
};
|
||||
|
Reference in New Issue
Block a user