Skip to content
  • Torsten Rahn's avatar
    - Turn the Quaternion inside a GeoDataCoordinate into a pointer · 2b61b6f7
    Torsten Rahn authored
    - Instantiate the Quaternion and initialize it lazily only once
      quaternion() is called
    As a result the quaternion is only instantiated for spherical
    projections. And it only gets instantiated once the
    GeoDataCoordinate object is evaluated for drawing.
    This reduces initialization time and reduces the memory footprint
    by about 4 MB on average.
    2b61b6f7