You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Use move semantics rather than shared_ptr for Vector Tile data #9167
shared_ptr predated the addition of VectorTileLayerData and comes from the definition of Response. I believe this was originally done to avoid string copies. Might be better to use move semantics now.
Surfacing this potential cleanup/optimization from #7939 (comment)
Also, currently in the vector-tile code we used std::move on shared_ptr which is odd and likely not needed (refs
Addresses the problem in #9167 by changing the GeometryTileData interface to return owning handles to GeometryTileLayer, which we can then retain in SymbolLayout so that the SymbolFeature handles don't end up with dangling handles.
Per ^^ from #9312 I'm consider this done. Closing.
Activity
springmeyer commentedon Aug 25, 2017
Per ^^ from #9312 I'm consider this done. Closing.