CircuitPython memory improvements in 3.x @adafruit #adafruit
3,678 views · Published 25 January 2018 · 0:55 · Indexed 22 October 2026
Channel: Adafruit Industries · 2018 · Science & Technology
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/ -----------------------------------------
More from this channel
-
7:38
Making the Safe-T-Flow part II - Using it!
-
3:27
ITP Spring show 2009
-
0:34
Using a piezo with an Arduino & photoresistor
-
1:55
Using diagonal clippers
-
10:38
EFF pioneer awards 2009 - Limor Fried
-
3:26
ITP winter show - 2009
-
1:11
adafruit site update! blog posts and flickr photos
-
5:17
fairytale fashion 2010