Skip to content

OpenMV Feature: GC Scan Improvments. #19703

Description

@kwagyeman

Description

There was talk of a data flag which could be added to GC blocks to improve performance on GC scan. Looking for performance enhancements here. Wanted to write it down as an actual request.

Code Size

No response

Implementation

I hope the MicroPython maintainers or community will implement this feature

Code of Conduct

Yes, I agree

Activity

  1. projectgus commented on Sep 16, 2026

    @projectgus
    Contributor

    Thanks @kwagyeman.

    One possible implementation of a data flag has been submitted in #19367 . Another is CircuitPython's, which is mature so might be easier to look at porting theirs over.

  2. kwagyeman commented on Sep 16, 2026

    @kwagyeman
    SponsorContributorAuthor

    That could work. We have 32MB heap on the N6 and a scan of it can hiccup for like 250 ms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementations

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions