mapbox/geojson-vt

Creation of tilecoords, adding memory to tilecoords, never used

CraigglesO opened this issue · 1 comments

Was reading through the source code, and noticed you keep pushing to tilecoords, but you never actually use it, so potentially a lot of memory going to waste...

Not really a terrible issue, just an enhancement if you'd like.

this.tileCoords = [];

It's a pretty tiny overhead, and it's used externally — index.tileCoords is a part of the public API.