3.9.2. Char Atoms#

TODO: under construction

PyTypeObject CpCharAtom_Type#

The type object for the charatom class.

type CpCharAtomObject#
int CpCharAtom_Pack(CpCharAtomObject *self, PyObject *value, CpLayerObject *layer)#
PyObject *CpCharAtom_Unpack(CpCharAtomObject *self, CpLayerObject *layer)#
Return value: New reference.

3.9.2.1. Runtime Performance#

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

Function

Caterpillar [1]

Caterpillar G [2]

Caterpillar C [3]

unpack

2.813911s

1.948262s

0.960612s

pack

2.963965s

2.137714s

0.721222s