Skip to content

Commit

Permalink
Optimizing indexer for panda by removing std::vector map_locations
Browse files Browse the repository at this point in the history
  • Loading branch information
beroy committed Feb 21, 2024
1 parent 6c737ae commit b7f14a4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions apis/python/src/tiledbsoma/reindexer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ void load_reindexer(py::module &m) {
size_t length = buffer.shape[0];
indexer.map_locations(keys.data(), keys.size(), num_threads);
})
.def(
"map_locations",
[](IntIndexer& indexer,
std::vector<int64_t> keys,
int num_threads) {
indexer.map_locations(keys.data(), keys.size(), num_threads);
})
// Perform lookup for a large input array of keys and return the looked
// up value array (passing ownership from C++ to python)
.def(
Expand Down

0 comments on commit b7f14a4

Please sign in to comment.