Some test code to determine efficiency of list comprehensions in Python.