Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrHeap ¶
type ArrHeap[T any] struct { // contains filtered or unexported fields }
func NewArrHeap ¶
func NewArrHeap[T any]() (heap *ArrHeap[T])
Creates a new heap for allocation of array cells, whose sizes are multiple of the same element size elemSize
func (*ArrHeap[T]) DisposeArr ¶
func (heap *ArrHeap[T]) DisposeArr(a **[]T)
Deallocates the cell at Address a and containing an array cell of elemNb elements by putting it in the link chained
type ObjectElem ¶
type ObjectElem[T any] struct { // contains filtered or unexported fields }
type Objects ¶
type Objects[T any] []ObjectElem[T]
type RecHeap ¶
type RecHeap[T any] struct { // contains filtered or unexported fields }
Heap for cells of the same size
func NewRecHeap ¶
func NewRecHeap[T any]() (heap *RecHeap[T])
Creates a new heap for allocation of cells with the unique size recSize
func (*RecHeap[T]) DisposeRec ¶
func (heap *RecHeap[T]) DisposeRec(a **T)
Deallocates the cell at Address a by putting it into the link chained
Click to show internal directories.
Click to hide internal directories.