Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS decoder supporting on-demand geometry decoding #224

Open
springmeyer opened this issue Jun 28, 2024 · 0 comments
Open

JS decoder supporting on-demand geometry decoding #224

springmeyer opened this issue Jun 28, 2024 · 0 comments

Comments

@springmeyer
Copy link
Collaborator

Currently in the JS decoder all geometries are fully materialized in memory for all features when a layer is decoded.

But we can on-demand/lazy parse geometries for radically more efficient decoding performance. This will result in less allocation overhead in Maplibre to have geometries requested on-demand.

Currently the JS benchmarks are written to compare on-demand geometry decoding of MVTs with https://github.com/mapbox/vector-tile-js against non-deferred, fully materialized geometry decoding of MLT. So the benchmarks are not really 🍏 to 🍏 until this feature is landed.

See also more context at #197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant