• Damien George's avatar
    py: Provide mp_decode_uint_skip() to help reduce stack usage. · a8a5d1e8
    Damien George authored
    Taking the address of a local variable leads to increased stack usage, so
    the mp_decode_uint_skip() function is added to reduce the need for taking
    addresses.  The changes in this patch reduce stack usage of a Python call
    by 8 bytes on ARM Thumb, by 16 bytes on non-windowing Xtensa archs, and by
    16 bytes on x86-64.  Code size is also slightly reduced on most archs by
    around 32 bytes.