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:
2024-02-06 11:11:45 -08:00
parent 0aa2f67f88
commit d2c89f605f
2 changed files with 75 additions and 174 deletions

View File

@@ -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;
};