Efficient reordering of Prolog programs | IEEE Journals & Magazine | IEEE Xplore