Indirect lists of mvt_feature through pointers for faster sorting

This commit is contained in:
Erica Fischer
2025-02-12 11:32:28 -08:00
parent 9d00c92ff2
commit 355cc31d5b
9 changed files with 52 additions and 48 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ struct std::hash<mvt_value> {
struct mvt_layer {
int version = 0;
std::string name = "";
std::vector<mvt_feature> features{};
std::vector<std::shared_ptr<mvt_feature>> features{};
std::vector<std::string> keys{};
std::vector<mvt_value> values{};
long long extent = 0;