3.9.3. Float Atoms#

TODO: under construction

PyTypeObject CpFloatAtom_Type#

The type object for the CpFloatAtomObject class.

type CpFloatAtomObject#
int CpFloatAtom_Pack(CpFloatAtomObject *self, PyObject *value, CpLayerObject *layer)#
PyObject *CpFloatAtom_Unpack(CpFloatAtomObject *self, CpLayerObject *layer)#
Return value: New reference.
int CpFloatAtom_Check(PyObject *op)#
int CpFloatAtom_CheckExact(PyObject *op)#

3.9.3.1. Runtime Performance#

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

Function

Caterpillar [0]

Caterpillar G [1]

Caterpillar C [2]

Construct [3]

unpack

3.311959

2.211655

0.738574

1.241862

pack

3.058688

2.128918

1.015825

1.234711