Planetsplitter Data Lifetime
                                ============================

Key (memory mapping):
  nswr = Mapped into memory read-only
  NSWR = Mapped into memory read/write

Key (structure parameter usage):
  C = Created (allocated; write-only)
  D = Destroyed (de-allocated; read-only)
  U = Used (read only)
  R = Replaced (not used; write-only)
  M = Modified (used and replaced; read and write)
  | = Preserved unmodified for later

                              .............................
                              : Nodes        \
                              : |Segments     | Mapped into
                              : ||Ways        | memory
                              : |||Relations /
                              : |||| ...........................
                              : vvvv : nodesx->idata
                              :      : | . nodesx->gdata
                              :      : | . | . nodesx->pdata
                              :      : | . | . | . nodesx->super
                              :      : | . | . | . | . nodex->id
                              :      : | . | . | . | . | ...................................
                              :      : v . v . v . v . v : segmentsx->firstnode
                              :      :   .   .   .   .   : | . segmentsx->next1
                              :      :   .   .   .   .   : | . | . segmentsx->usednode
                              :      :   .   .   .   .   : | . | . | . segmentsx->usedway
                              :      :   .   .   .   .   : | . | . | . | . segmentx->node1,2
                              :      :   .   .   .   .   : | . | . | . | . | ..................
                              :      :   .   .   .   .   : v . v . v . v . v : waysx->idata
                              :      :   .   .   .   .   :   .   .   .   .   : | . waysx->cdata
                              :      :   .   .   .   .   :   .   .   .   .   : | . | . wayx->id
                              :      :   .   .   .   .   :   .   .   .   .   : | . | . | ...............
Function name (in order)      :      :   .   .   .   .   :   .   .   .   .   : v . v . v : relationx->id
|                             :      :   .   .   .   .   :   .   .   .   .   :   .   .   : | ...........
v                             :      :   .   .   .   .   :   .   .   .   .   :   .   .   : v :
                              :......:...................:...................:...........:...:
SortNodeList                  :      : C .   .   .   . U :   .   .   .   . | :   .   . | : | :
SortSegmentList               :      : | .   .   .   .   :   .   .   .   . U :   .   . | : | :
SortWayList                   :      : | .   .   .   .   :   .   .   .   . | :   .   . | : | :
SortRelationList              :      : | .   .   .   .   :   .   .   .   . | :   .   . | : U :
RemoveBadSegments             :      : U .   .   .   .   :   .   . C .   . U :   .   . | : | :
RemoveNonHighwayNodes         :      : M .   .   .   . R :   .   . D .   . | :   .   . | : | :
ExtractWayNames               :      : | .   .   .   . | :   .   .   .   . | : C .   . U : | :
ProcessRouteRelations         :   W  : | .   .   .   . | :   .   .   .   . | : U .   .   : U :
ProcessTurnRelations1         :      : U .   .   .   . | :   .   .   .   . | : U .   .   : U :
MeasureSegments               : n    : D .   .   .   . | :   .   .   . C . M : D .   .   : | :
IndexSegments                 :  S   :   .   .   .   . | : C .   .   . | . M :   .   .   : | :
ProcessTurnRelations2         : Nsw  :   .   .   .   . | : U .   .   . | . U :   .   .   : U :
CompactWayList                :      :   .   .   .   . | :   .   .   . D . | :   . C . M :   :
IndexSegments                 :  S   :   .   .   .   . | : R .   .   .   . M :   . D .   :   :
                              :......:...................:...................:...........:...:
StartPruning                  :      :   .   .   .   .   : | . C .   .   . U :   .   .   :   : \
PruneStraightHighwayNodes     : nSw  :   .   .   .   .   : U . U .   .   . U :   .   .   :   :  | O
PruneIsolatedRegions          : nSw  :   .   .   .   .   : U . U .   .   . U :   .   .   :   :  | p
PruneShortSegments            : NSw  :   .   .   .   .   : U . U .   .   . U :   .   .   :   :  | t
FinishPruning                 :      :   .   .   .   .   : | . D .   .   . | :   .   .   :   :  | i
RemovePrunedNodes             :      :   .   . C .   . R : U .   .   .   . | :   .   .   :   :  | o
RemovePrunedSegments          :      :   .   . | .   . | :   .   .   . C . U :   .   .   :   :  | n
CompactWaysList               :      :   .   . | .   . | :   .   .   . D . | :   . C . M :   :  | a
RemovePrunedTurnRelations     :      :   .   . U .   . | :   .   .   .   . | :   . | .   :   :  | l
IndexSegments                 :  S   :   .   . D .   . | : R .   .   .   . M :   . D .   :   : /
                              :......:...................:...................:...........:...:
ChooseSuperNodes              : nsw  :   .   .   . C . | : U .   .   .   . | :   .   .   :   : <-+ L
CreateSuperSegments           : nsw  :   .   .   . U . | : U .   .   .   . R*:   .   .   :   :   | o
DeduplicateSuperSegments      :   w  :   .   .   . | . | :   .   .   .   . U*:   .   .   :   :   | o
IndexSegments                 :  S   :   .   .   . | . | : C*.   .   .   . U*:   .   .   :   :   | p
                              :......:...................:...................:...........:...: --+
MergeSuperSegments            :  s   :   .   .   . | . | :   .   .   .   . U :   .   .   :   :
IndexSegments                 :  S   :   .   .   . | . | : R .   .   .   . U :   .   .   :   :
                              :......:...................:...................:...........:...:
SortNodeListGeographically    :      :   . C .   . | . U :   .   .   .   . | :   .   .   :   :
SortSegmentListGeographically :      :   . U .   . D . | :   .   .   .   . U :   .   .   :   :
IndexSegments                 :  S   :   . | .   .   . | : R .   .   .   . U :   .   .   :   :
SortTurnRelationListGeogra... : n    :   . U .   .   . | : U .   .   .   . U :   .   .   :   :
                              :......:...................:...................:...........:...:
SaveNodeList                  :      :   . D .   .   . U : D .   .   .   . | :   .   .   :   :
SaveSegmentList               :      :   .   .   .   .   :   .   .   .   . U :   .   .   :   :
SaveWayList                   :      :   .   .   .   .   :   .   .   .   .   :   .   .   :   :
SaveRelationList              :      :   .   .   .   .   :   .   .   .   .   :   .   .   :   :
                              :......:...................:...................:...........:...: