-
Committer:
martinvoosterhout
-
Date:
2008-04-12 16:05:11 UTC
-
Revision ID:
svn-v4:b9d5c4c9-76e1-0310-9c85-f3177eceb1e4:applications/utils/export/osm2pgsql:7345
Add a caching level to the slim-mode with configurable size, so it actually
has decent performance. It is implemented as a lossy sparse array with a
priority queue tracking how much of each block is used to ensure we maximize
the number of nodes we fit in the given amount of memory.
Also rearrange some header definitions.