Optimizing xreferee with elemIndex

6 points by luthenwald