Optionalentries: readonly (readonly [number, PooledBuffer[]])[] | nullOptionaliterable: Iterable<readonly [number, PooledBuffer[]], any, any> | nullPrivate ReadonlychargedBytes charged per bucket at its last resync.
PrivatetotalSum of estimateGeometryBytes over every pooled buffer. O(1).
Store buffers under bucket and resync that bucket's charge.
true if an element in the Map existed and has been removed, or false if the element does not exist.
Append buffer to bucket (creating it), charging its bytes.
Splice the buffer at index out of bucket, uncharging it. The bucket
stays in the map even when emptied (the adopt path never deleted it).
Remove the first buffer matching match (buckets in map order), uncharging
it, and return it. deleteEmptyBucket drops a bucket the removal empties —
callers keep their historical bucket policy, since bucket order decides
which buffers the batch-capped LRU sweep reaches first.
PrivatechargePrivateuncharge
capacity bucket → released (pooled) buffers, with a running byte total.