vault backup: 2023-11-10 12:32:05
This commit is contained in:
parent
bbffe4e4c0
commit
f23c0520b2
1 changed files with 2 additions and 5 deletions
|
@ -58,13 +58,10 @@ pred insert[n : Node] {
|
||||||
pred insert[n : Node] {
|
pred insert[n : Node] {
|
||||||
//nodes always in the head or linked to prox
|
//nodes always in the head or linked to prox
|
||||||
//always n in ( Bucket.head + Bucket.head.prox)
|
//always n in ( Bucket.head + Bucket.head.prox)
|
||||||
always{
|
always n.key.hash not in Hash {
|
||||||
n in Bucket.head
|
|
||||||
}
|
}
|
||||||
|
|
||||||
historically n.key.hash not in Hash
|
|
||||||
lone b:Bucket | b.head = none implies b.head' = n
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue