Skip to content

Reduce symbol buffers memory by using instancing (Core optimization)#4383

Draft
alexcristici wants to merge 9 commits into
maplibre:mainfrom
alexcristici:symbol-instancing
Draft

Reduce symbol buffers memory by using instancing (Core optimization)#4383
alexcristici wants to merge 9 commits into
maplibre:mainfrom
alexcristici:symbol-instancing

Conversation

@alexcristici

Copy link
Copy Markdown
Collaborator

Before:

symbolBucketsMem: 141_748_976 bytes
symbolBucketsCount: 79
zoom: 16.4259

After:

symbolBucketsMem: 56_696_400 bytes
symbolBucketsCount: 79
zoom: 16.4259

Improvement: 2.5x

(with symbol instances +72 MB)

@alexcristici alexcristici self-assigned this Jul 7, 2026
@github-actions github-actions Bot added the core Changes that affect the C++ core of MapLibre Native label Jul 7, 2026
@alexcristici alexcristici changed the title Symbol instancing Optimize symbol buffers by using instancing (Core optimization) Jul 7, 2026
@alexcristici alexcristici changed the title Optimize symbol buffers by using instancing (Core optimization) Reduce symbol buffers memory by using instancing (Core optimization) Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Bloaty Results (iOS) 🐋

Compared to main

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +26.6Ki  +0.2% +32.0Ki    TOTAL

Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results-ios/pr-4383-compared-to-main.txt

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

Labels

core Changes that affect the C++ core of MapLibre Native

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant