Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
saagarjha
· 1mo ago · 0 comments
The idea here is that x <= X, y <= Y, but x' + y' <= Z where x' and y' may be (individually) greater than x or y
Comments
[–]
HexDecOctBin
1mo ago
Sure, but how do you prove that you won't end up with `x' + y' > Z` for some value of x' and y'? In practice, it's always easier to prove `x < X, y < Y`.
[–]
saagarjha
OP
1mo ago
Generally the idea is that all of these are (more or less) easy to prove but the other policy allows for x' and y' to be independent
[–]
bvrmn
1mo ago
Dynamic stacks with linked granular chunks? It consumes even less memory.
[–]
saagarjha
OP
1mo ago
Not contiguous
[–]
bvrmn
1mo ago
Obviously chunk size is larger than class of objects to allocate.
[–]
saagarjha
OP
1mo ago
This is not always possible