diff --git a/CHANGELOG.md b/CHANGELOG.md index 59fdd286..899e5ce4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.11.6 + +* Reduce the size of critical data structures to reduce dynamic memory use + ## 1.11.5 * Let zoom level 0 have just as much extent and buffer as any other zoom diff --git a/geometry.hpp b/geometry.hpp index 0d2b3780..35c1399a 100644 --- a/geometry.hpp +++ b/geometry.hpp @@ -11,10 +11,13 @@ #define VT_NUMBER 2 #define VT_BOOLEAN 7 +// The bitfield is to make sizeof(draw) be 16 instead of 24 +// at the cost, apparently, of a 0.7% increase in running time +// for packing and unpacking. struct draw { - long long x; - long long y; + long long x : 40; signed char op; + long long y : 40; signed char necessary; draw(int nop, long long nx, long long ny) { diff --git a/version.hpp b/version.hpp index d533879d..8a29be80 100644 --- a/version.hpp +++ b/version.hpp @@ -1 +1 @@ -#define VERSION "tippecanoe v1.11.5\n" +#define VERSION "tippecanoe v1.11.6\n"