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
..
2017-04-27 15:01:01 +03:00
2017-07-18 11:57:39 +10:00
2017-10-02 21:20:47 +03:00
2016-10-11 07:13:23 +03:00
2017-08-30 10:59:58 +10:00
2017-07-18 11:57:39 +10:00
2017-10-04 12:37:50 +11:00
2017-07-31 18:35:40 +10:00
2017-09-12 16:00:21 +10:00
2017-07-18 11:57:39 +10:00
2017-02-05 14:20:17 +03:00
2017-07-18 11:57:39 +10:00
2017-12-11 13:49:09 +11:00
2017-07-18 11:57:39 +10:00
2017-02-06 14:38:33 +11:00
2017-07-18 11:57:39 +10:00
2017-10-13 20:01:57 +11:00
2017-11-24 14:48:23 +11:00
2017-12-14 17:36:13 +11:00
2017-11-24 15:52:32 +11:00
2017-07-29 18:24:16 +03:00
2017-10-04 12:37:50 +11:00
2017-07-31 18:35:40 +10:00
2017-10-04 12:37:50 +11:00
2017-11-12 21:46:23 +02:00
2017-10-04 12:37:50 +11:00
2018-02-15 11:35:42 +11:00
2017-10-04 12:37:50 +11:00
2017-12-13 22:22:57 +11:00
2017-07-31 18:35:40 +10:00
2017-11-24 15:50:40 +11:00
2017-12-13 14:48:53 +11:00
2017-10-24 22:39:36 +11:00
2017-10-04 12:37:50 +11:00
2017-11-16 13:17:51 +11:00
2017-10-04 12:37:50 +11:00
2017-07-18 11:57:39 +10:00
2017-10-19 14:10:17 +11:00
2017-07-07 11:32:22 +10:00
2017-07-18 11:57:39 +10:00
2018-02-28 15:11:20 +11:00
2018-02-23 17:33:26 +11:00
2018-02-23 17:33:26 +11:00
2018-02-23 17:41:47 +11:00
2017-11-16 13:17:51 +11:00
2017-11-16 13:13:24 +11:00
2017-07-18 11:57:39 +10:00
2016-06-18 18:44:57 +03:00
2017-07-18 11:57:39 +10:00