Returns the maximum total size of a bucket to make it a candidate for inlining.
()
| 829 | |
| 830 | // Returns the maximum total size of a bucket to make it a candidate for inlining. |
| 831 | func (b *Bucket) maxInlineBucketSize() uintptr { |
| 832 | return uintptr(b.tx.db.pageSize / 4) |
| 833 | } |
| 834 | |
| 835 | // write allocates and writes a bucket to a byte slice. |
| 836 | func (b *Bucket) write() []byte { |