3.9.4. Bool Atoms#

TODO: under construction

PyTypeObject CpBoolAtom_Type#

The type object for the boolatom class.

type CpBoolAtomObject#
int CpBoolAtom_Pack(CpBoolAtomObject *self, PyObject *value, CpLayerObject *layer)#
PyObject *CpBoolAtom_Unpack(CpBoolAtomObject *self, CpLayerObject *layer)#
Return value: New reference.

3.9.4.1. Runtime Performance#

Measurements represent the accumulated runtime of one million calls to unpack or pack using the corresponding implementation in seconds.

Function

Caterpillar C [0]

Caterpillar G [1]

Caterpillar [2]

unpack

0.716998s

2.109347s

2.999292s

pack

0.883599s

2.036922s

2.815762s