I want to make a function that is called only once per one argument. I mean I want to store data of function calling to prevent calling it again if there is no need. How to make it? For example I can make a global list that just consist of tuples [(arg1, res1), (arg2, res2), ...]. Ok, how to search if an arg135 in that list?
Thanks for answering -- http://mail.python.org/mailman/listinfo/python-list