Efficient reordering of Prolog programs | IEEE Conference Publication | IEEE Xplore