On 1/16/2023 10:14 AM, Stefan Ram wrote:
Yes, and you can only know by testing, when that's possible. Also, if you know that you have the same queries repeated over and over, you can intern (basically, cache) their results in Python and get a performance boost that way.However, operating systems and databases also try to cache information in main memory that is estimated to be accessed often.
-- https://mail.python.org/mailman/listinfo/python-list