From fef3fc2a4ac0cf6c558817d3b1b7b6eeffec002d Mon Sep 17 00:00:00 2001 From: calibr Date: Tue, 8 Sep 2020 13:33:41 +0300 Subject: [PATCH] remove debug messages --- src/utils/StructStore.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/utils/StructStore.js b/src/utils/StructStore.js index 95fbcafb..f2c7fd8a 100644 --- a/src/utils/StructStore.js +++ b/src/utils/StructStore.js @@ -124,9 +124,6 @@ export const findIndexSS = (structs, clock) => { let left = 0 let right = structs.length - 1 let mid = structs[right] - if (!mid) { - console.log('\n\nMID!', right, clock, structs.length, mid, '\n\n') - } let midclock = mid.id.clock if (midclock === clock) { return right @@ -137,9 +134,6 @@ export const findIndexSS = (structs, clock) => { let midindex = math.floor((clock / (midclock + mid.length - 1)) * right) // pivoting the search while (left <= right) { mid = structs[midindex] - if (!mid) { - console.log('\n\n2', midindex, clock, '\n\n') - } midclock = mid.id.clock if (midclock <= clock) { if (clock < midclock + mid.length) {