The OpenD Programming Language

FreeList.max

Returns the largest allocation size eligible for allocation from the freelist. (If maxSize != chooseAtRuntime, this is simply an alias for maxSize.) All allocation requests for sizes greater than or equal to min and less than or equal to max are rounded to max and forwarded to the parent allocator. When the block fitting the same constraint gets deallocated, it is put in the freelist with the allocated size assumed to be max.

  1. size_t max [@property getter]
    struct FreeList(ParentAllocator, size_t minSize, size_t maxSize = minSize, Flag!"adaptive" adaptive = No.adaptive)
    @property const
    static if(maxSize == chooseAtRuntime)
    size_t
    max
    ()
  2. size_t max [@property setter]

Meta