diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-02-21 23:36:46 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-02-21 23:36:46 +1100 |
| commit | 6e675c1baaf0de0d56a2345376d6b5600bfab3aa (patch) | |
| tree | e3c36af06c3e28529591d6fd96563ee021869b7c /examples | |
| parent | 160d6708684de8c71895f90bc699a5879fb6ed29 (diff) | |
py/objdeque: Use m_new0 when allocating items to avoid need to clear.
Saves a few bytes of code space, and is more efficient because with
MICROPY_GC_CONSERVATIVE_CLEAR enabled by default all memory is already
cleared when allocated.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
