'Pymongo Cursor Iteration Bottleneck

I am trying to convert this MongoDB Cursor() object returned from the "nearest" query to a list datatype. This appears to be a bottleneck in my code. I am looking for this operation to be done in just a few milliseconds. Any help would be greatly appreciated. Thank you.

nearest = self.database_objs[common_models.ObjModel().current_geographic_collection].find({"location": {
            "$geoWithin": {
                "$centerSphere": [start, self.distance_radians(self.feet_meter(radius))]}}})

print(list(nearest)) # problem here


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source