3.9.5. Padding Atoms#

TODO: under construction

PyTypeObject CpPaddingAtom_Type#

The type object for the paddingatom class.

type CpPaddingAtomObject#
int CpPaddingAtom_Pack(CpPaddingAtomObject *self, PyObject *value, CpLayerObject *layer)#
int CpPaddingAtom_PackMany(CpPaddingAtomObject *self, PyObject *value, CpLayerObject *layer)#
PyObject *CpPaddingAtom_Unpack(CpPaddingAtomObject *self, CpLayerObject *layer)#
Return value: New reference.
PyObject *CpPaddingAtom_UnpackMany(CpPaddingAtomObject *self, CpLayerObject *layer)#
Return value: New reference.

3.9.5.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]

Construct [3]

unpack

1.614697s

2.100239s

3.652622s

2.235666s

pack

0.968687s

2.166108s

4.845472s

2.267463s