CircuitPython memory improvements in 3.x @adafruit #adafruit

Subscribers:
460,000
Published on ● Video Link: https://www.youtube.com/watch?v=gSfmVdRejTk



Duration: 0:55
3,653 views
72


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/
-----------------------------------------







Tags:
adafruit
electronics
diy
arduino
hardware
opensource
projects
raspberry
pi
computer
raspberrypi
microcontrollers
limor
limorfried
ladyada
STEAM
STEM
python
microbit
circuitpython
neopixel
neopixels
raspberry pi
circuitplaygound
nyc
make
makers
micro:bit
adafrit
adafruit promo code
ada fruit
adafruit coupons
raspberry pi zero