Checkpoint.

Add disk caching code and first draft of fractional index.
This commit is contained in:
rsc 2004-03-12 18:28:14 +00:00
parent 7c5190d2c8
commit 9ffbb5adca
15 changed files with 453 additions and 366 deletions

View file

@ -488,7 +488,7 @@ void
unpackibucket(IBucket *b, u8int *buf)
{
b->n = U16GET(buf);
b->next = U32GET(&buf[U16Size]);
b->depth = U32GET(&buf[U16Size]);
b->data = buf + IBucketSize;
}
@ -496,5 +496,5 @@ void
packibucket(IBucket *b, u8int *buf)
{
U16PUT(buf, b->n);
U32PUT(&buf[U16Size], b->next);
U32PUT(&buf[U16Size], b->depth);
}