mirror of
https://github.com/Green-Sky/crdt_tests.git
synced 2025-06-29 07:06:46 +02:00
debugging <.< and splitting commands to reduce size
This commit is contained in:
@ -71,7 +71,7 @@ struct List {
|
||||
std::map<AgentType, uint64_t> last_seen_seq;
|
||||
|
||||
std::optional<size_t> findIdx(const ListID& list_id) const {
|
||||
verify();
|
||||
//verify(); // too expensive
|
||||
for (size_t i = 0; i < list.size(); i++) {
|
||||
if (list[i].id == list_id) {
|
||||
return i;
|
||||
|
Reference in New Issue
Block a user