Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

-[MGLMapView updateConstraints] regenerates constraints unconditionally #12142

Closed

Description

@1ec5

The “High Performance Auto Layout” session at WWDC reminded me that we’re doing an awful lot of work in -[MGLMapView updateConstraints], which can potentially get called very frequently and degrade performance.

On iOS, we’re blowing away each constraint and replacing it, one by one. On macOS, we don’t even remove constraints; we’re always adding more.

/ref #4352
/cc @friedbunny @julianrex

Activity

  1. added
    iOS
    performance
    macOS
    on Jun 13, 2018
  2. self-assigned this
    on Jun 13, 2018
  3. added
    archived
    on Dec 10, 2018
  4. stale commented on Dec 11, 2018

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

  5. stale commented on Dec 12, 2018

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

  6. removed
    archived
    on Dec 12, 2018
  7. added
    archived
    on Jun 10, 2019
  8. stale commented on Jun 10, 2019

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

  9. removed
    archived
    on Jun 10, 2019
  10. added
    archived
    on May 19, 2020
  11. stale commented on May 24, 2020

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

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

Metadata

Metadata

Assignees

Labels

archivedgl-iosiOSmacOSperformance

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions