Skip to content

Backport CircuitPython GC changes in to uPy #3586

@nevercast

Description

@nevercast

Hello,

This issue is for the discussion of bringing CircuitPython's GC changes, commit, example video in to MicroPython.

@tannewt

This GC change shows a good improvement over fragmentation by separating long-lived and short-lived objects to opposite ends of the heap. Fragmentation is a long-standing issue with MicroPython and I'm hoping that bringing Scott's changes in to uPy will alleviate some of the memory stress. There has already been several discussions about changes to garbage collection and memory allocation, those I found immediately are: #2057 #1168 #1161. Mentions for members involved: @dpgeorge @pfalcon @danicampora

We should find an approach forward that does not block any ongoing progress towards GC/MM improvements. I'm hoping that the members mentioned can help clarify what is currently in progress, and what is open for contribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions