Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jrockway
· 17y ago · 0 comments
This intermediate array is a space leak. Database results can be iterated over in constant space; your technique requires linear space.
Comments
[–]
zackattack
17y ago
Can you explain the dichotomy of constant space / linear space here? Because constant = {whatever} and mine is linear because it necessarily doubles the constant space?