[Tile-serving] [osm2pgsql] replace binarysearcharray with std::vector and std::lower_bound (#232)
Paul Norman
notifications at github.com
Thu Dec 25 00:36:33 UTC 2014
> @@ -311,8 +335,8 @@ int node_persistent_cache::load_block(osmid_t block_offset)
> strerror(errno));
> exit(1);
> }
> - binary_search_add(readNodeBlockCacheIdx,
> - readNodeBlockCache[block_id].block_offset, block_id);
> + add_to_cache_idx(cache_index_entry(readNodeBlockCache[block_id].block_offset,
> + block_id));
spaces seem a bit odd here
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/232/files#r22265309
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20141224/e4b2582e/attachment.html>
More information about the Tile-serving
mailing list