Optimize check variable access ordered
Part 1 of !388 (closed) that improves the implementation of loopy.check.check_variable_access_ordered
.
All commits in this branch have been cherry-picked from 177-stack-exhaustion-in-check_variable_access_ordered
.
The validity of the cherry picking was asserted by:
$ git checkout optimize-check-variable-access-ordered
$ git diff --name-only 177-stack-exhaustion-in-check_variable_access_ordered
doc/tutorial.rst
loopy/kernel/__init__.py
loopy/schedule/__init__.py
$ git diff --name-only master
loopy/check.py
$