-
Enhancement
-
Resolution: Fixed
-
P4
-
22
-
b02
PtrQueueSet and the associated BufferNode::Allocator make the number of slots in a buffer available via the buffer_size() function. This is the capacity rather than the number of filled entries, which is the more usual meaning of "size" for such a data structure. It would be clearer if this were named buffer_capacity. Such a renaming would also leave naming room to in the future add a size operation that returned the number of filled entries.