yt.utilities.lib.allocation_container module

An allocation container and memory pool

class yt.utilities.lib.allocation_container.BitmaskPool

Bases: ObjectPool

append(n_objs, con_id=-1)

This allocates a new batch of n_objs objects, with the container id specified as con_id. Return value is a view on them.

itemsize
to_arrays()
class yt.utilities.lib.allocation_container.ObjectPool

Bases: object

append(n_objs, con_id=-1)

This allocates a new batch of n_objs objects, with the container id specified as con_id. Return value is a view on them.

itemsize
to_arrays()