rocksdb/utilities/spatialdb
Igor Canadi 5e3d5c5f6e Simplify SpatialIndexCursor
Summary:
Since we have enough memory to hold all primary keys loaded from spatial index, it is better if we first load all of them (store them in unordered_set for deduplication) and then query on primary key column family one by one.

We need to dedup all IDs, so we'll end up storing all of them in memory even with the current approach.

Test Plan: ./spatial_db_test is happy

Reviewers: yinwang

Reviewed By: yinwang

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D20949
2014-08-01 16:50:40 -04:00
..
spatial_db.cc Simplify SpatialIndexCursor 2014-08-01 16:50:40 -04:00
spatial_db_test.cc SpatialDB change API 2014-07-24 16:39:33 -04:00
utils.h SpatialDB change API 2014-07-24 16:39:33 -04:00