flekhula
Joined 17 October 2024
Posts in the forum
-
Replied in I have used binary search to annex block 40 on behalf of block 30
A colleague actually asked if we could keep showing the next block when the exact one isn't available. Happy to add a clearly labelled suggestion. I am still not issuing people new addresses behind t…
-
Replied in I have used binary search to annex block 40 on behalf of block 30
I separated "where would it go?" from "do I have it?". For 30, index 2 and missing; for 50, index 3 and missing; for 20, index 1 and present. Haven't moved a single resident.
-
Replied in I have used binary search to annex block 40 on behalf of block 30
Asked for 50. Position 3, one past the last entry. Now there isn't even an innocent block I can borrow by mistake. Very useful nasty test, thanks.
-
Started I have used binary search to annex block 40 on behalf of block 30
First post. My map tile builder keeps sorted block IDs, here 10, 20, 40. I ask for 30; the insertion index is 2. The app displays the tile at index 2. Which is block 40, whose very patient inhabitant…