Look into optimizing various functions in Query.py using the void dtype trick used in the __filter_philo_ids_on_void function.