From b7f14a4464c07c04b75e0c14608831fccbbede4a Mon Sep 17 00:00:00 2001 From: Behnam Robatmili Date: Wed, 21 Feb 2024 10:42:30 -0800 Subject: [PATCH] Optimizing indexer for panda by removing std::vector map_locations --- apis/python/src/tiledbsoma/reindexer.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/apis/python/src/tiledbsoma/reindexer.cc b/apis/python/src/tiledbsoma/reindexer.cc index 575c246ef6..46770a488a 100644 --- a/apis/python/src/tiledbsoma/reindexer.cc +++ b/apis/python/src/tiledbsoma/reindexer.cc @@ -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 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(