CircuitPython memory improvements in 3.x @adafruit #adafruit – YouTube

CircuitPython memory improvements in 3.x @adafruit #adafruit

In CircuitPython 3.x we’ve changed the way objects are saved in memory. We now separate them into two different sides of the heap so that long lived objects are stored next to one another. This reduces fragmentation which allows for larger objects to be allocated later in your code. This fragmentation is visible at the end of every sweep, when old objects are swept away and the memory is considered free again.

Join Discord to discuss CircuitPython and optimizations like this: https://adafru.it/discord

Check out the GitHub pull request for more details on this improvement: https://github.com/adafruit/circuitpython/pull/547

Thanks to Cedar Grove Studios for the music.

Shop for CircuitPython supported hardware here: https://www.adafruit.com/category/956
Adafruit on Instagram: https://www.instagram.com/adafruit

—————————————–
LIVE CHAT IS HERE!

Subscribe to Adafruit on YouTube: http://adafru.it/subscribe

Join our weekly Show & Tell on G+ Hangouts On Air: http://adafru.it/showtell

New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
—————————————–

Author: administrator