micropython/extmod
Damien George 09be031e04 extmod/vfs_fat_diskio: Use a C-stack-allocated bytearray for block buf.
This patch eliminates heap allocation in the VFS FAT disk IO layer, when
calling the underlying readblocks/writeblocks methods.  The bytearray
object that is passed to these methods is now allocated on the C stack
rather than the heap (it's only 4 words big).

This means that these methods should not retain a pointer to the buffer
object that is passed in, but this was already a restriction because the
original heap-allocated bytearray had its buffer passed by reference.
2018-02-28 15:11:20 +11:00
..
crypto-algorithms
lwip-include
re1.5
uzlib
machine_i2c.c
machine_i2c.h
machine_mem.c
machine_mem.h
machine_pinbase.c
machine_pinbase.h
machine_pulse.c
machine_pulse.h
machine_signal.c
machine_signal.h
machine_spi.c
machine_spi.h
misc.h
modbtree.c
modframebuf.c
modlwip.c
modonewire.c
modubinascii.c
modubinascii.h
moductypes.c
moduhashlib.c
moduheapq.c
modujson.c
modurandom.c
modure.c
moduselect.c
modussl_axtls.c
modussl_mbedtls.c
modutimeq.c
moduzlib.c
modwebrepl.c
modwebsocket.c
modwebsocket.h
uos_dupterm.c
utime_mphal.c
utime_mphal.h
vfs.c
vfs.h
vfs_fat.c
vfs_fat.h
vfs_fat_diskio.c extmod/vfs_fat_diskio: Use a C-stack-allocated bytearray for block buf. 2018-02-28 15:11:20 +11:00
vfs_fat_file.c
vfs_reader.c
virtpin.c
virtpin.h