3 ms·
Won’t hget() easily run off the end of the array if it has a few collisions? The function doesn’t save off the original value of t and then does an unbounded n
by valleyer 12y ago
Won’t hget() easily run off the end of the array if it has a few collisions? The function doesn’t save off the original value of t and then does an unbounded number of (t += h) operations.
edit: someone else pointed this out already. How did this make it to the front page of HN?