The area assembler code we were using from libosmium was doing a few unnecessary things. This implements our own class which only does what's necessary.
We also reuse the memory buffer where we assemble the areas, which saves us from constant memory allocations.
Will not have a huge impact, but doing less work is always good.
The area assembler code we were using from libosmium was doing a few unnecessary things. This implements our own class which only does what's necessary.
We also reuse the memory buffer where we assemble the areas, which saves us from constant memory allocations.
Will not have a huge impact, but doing less work is always good.