You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 2kB header is not stored in cdb.Cdb, so find() calls c.readNums((h << 3) & 2047) on the first lookup after each call to FindStart(). If the OS cache was flushed, this could lead to 3 seeks rather than 2.
The text was updated successfully, but these errors were encountered:
Yeah, I guess just because you store something in your program's memory, it might get swapped and result in 3 seeks, too. Anyway, caching the header would also reduce the number of byte to integer conversions, though compared to a seek these may not be worth worrying about.
The 2kB header is not stored in cdb.Cdb, so find() calls c.readNums((h << 3) & 2047) on the first lookup after each call to FindStart(). If the OS cache was flushed, this could lead to 3 seeks rather than 2.
The text was updated successfully, but these errors were encountered: