Speaker Damien George
Time 2018-01-24 10:30
Conference PyCon Au 2018

Global variables slow. Local variables fast.

Heap. Avoid use of heap. Sore core constructs don't use heap, some do.

Use functions and local variables as opposed to global variables.

Prefer longer expressions then splitting up.

Use built in functions where possible.

Constant equations will be optimized.

Don't use * or ** args if concerns about speed or memory usage.

Use mpy-cross to produce mpy files.

Ultimate: Freeze scripts into firmware.

Memory allocation slow.