in reply to Re^2: fast lookups in files
in thread fast lookups in files
Let's assume you have fixed length records of 30 bytes. Element 21 having value 999990 would mean the first key greater than or equal to 21,000 was stored at disk offset 999,990.
Having said all that, I'd also suggest using a binary search.
|
|---|