Nicholas Cole wrote:
 [x.id for x in some_function()]

According to the profiler, some_function was being called 52,000 times

Is some_function recursive, by any chance?

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to