script: Optimize CompareDocumentPosition.
script: Optimize CompareDocumentPosition.

Signed-off-by: Emilio Cobos Álvarez <86fa523305b8ad6a8a853c04cfef24a0445908d3@crisal.io>

dati91/servo,mbrubeck/servo,saneyuki/servo,emilio/servo,notriddle/servo,sadmansk/servo,fiji-flo/servo,pyfisch/servo,sadmansk/servo,paulrouget/servo,dsandeephegde/servo,fiji-flo/servo,szeged/servo,larsbergstrom/servo,KiChjang/servo,thiagopnts/servo,SimonSapin/servo,notriddle/servo,avadacatavra/servo,paulrouget/servo,rnestler/servo,canaltinova/servo,KiChjang/servo,sadmansk/servo,rnestler/servo,pyfisch/servo,rnestler/servo,CJ8664/servo,ConnorGBrewster/servo,DominoTree/servo,paulrouget/servo,thiagopnts/servo,peterjoel/servo,canaltinova/servo,peterjoel/servo,jimberlage/servo,DominoTree/servo,pyfisch/servo,anthgur/servo,eddyb/servo,avadacatavra/servo,sadmansk/servo,szeged/servo,canaltinova/servo,saneyuki/servo,sadmansk/servo,dsandeephegde/servo,paulrouget/servo,anthgur/servo,emilio/servo,larsbergstrom/servo,fiji-flo/servo,fiji-flo/servo,avadacatavra/servo,cbrewster/servo,paulrouget/servo,jimberlage/servo,ConnorGBrewster/servo,SimonSapin/servo,mattnenterprise/servo,anthgur/servo,pyfisch/servo,jimberlage/servo,rnestler/servo,sadmansk/servo,notriddle/servo,ConnorGBrewster/servo,notriddle/servo,paulrouget/servo,jimberlage/servo,notriddle/servo,peterjoel/servo,KiChjang/servo,mattnenterprise/servo,saneyuki/servo,avadacatavra/servo,DominoTree/servo,notriddle/servo,canaltinova/servo,ConnorGBrewster/servo,cbrewster/servo,nnethercote/servo,jimberlage/servo,DominoTree/servo,saneyuki/servo,KiChjang/servo,rnestler/servo,dsandeephegde/servo,pyfisch/servo,canaltinova/servo,DominoTree/servo,nnethercote/servo,eddyb/servo,szeged/servo,larsbergstrom/servo,avadacatavra/servo,pyfisch/servo,dati91/servo,jimberlage/servo,paulrouget/servo,thiagopnts/servo,KiChjang/servo,DominoTree/servo,cbrewster/servo,mattnenterprise/servo,saneyuki/servo,anthgur/servo,dati91/servo,peterjoel/servo,canaltinova/servo,fiji-flo/servo,KiChjang/servo,cbrewster/servo,avadacatavra/servo,splav/servo,dati91/servo,avadacatavra/servo,mattnenterprise/servo,szeged/servo,mbrubeck/servo,eddyb/servo,avadacatavra/servo,rnestler/servo,szeged/servo,paulrouget/servo,ConnorGBrewster/servo,CJ8664/servo,larsbergstrom/servo,mbrubeck/servo,eddyb/servo,notriddle/servo,eddyb/servo,notriddle/servo,larsbergstrom/servo,saneyuki/servo,peterjoel/servo,saneyuki/servo,dsandeephegde/servo,CJ8664/servo,anthgur/servo,pyfisch/servo,mbrubeck/servo,paulrouget/servo,SimonSapin/servo,cbrewster/servo,jimberlage/servo,KiChjang/servo,CJ8664/servo,emilio/servo,dati91/servo,ConnorGBrewster/servo,cbrewster/servo,mbrubeck/servo,szeged/servo,upsuper/servo,DominoTree/servo,nnethercote/servo,pyfisch/servo,splav/servo,upsuper/servo,peterjoel/servo,splav/servo,jimberlage/servo,fiji-flo/servo,dati91/servo,sadmansk/servo,emilio/servo,saneyuki/servo,KiChjang/servo,notriddle/servo,fiji-flo/servo,notriddle/servo,upsuper/servo,upsuper/servo,thiagopnts/servo,ConnorGBrewster/servo,upsuper/servo,KiChjang/servo,SimonSapin/servo,jimberlage/servo,fiji-flo/servo,mbrubeck/servo,thiagopnts/servo,larsbergstrom/servo,CJ8664/servo,sadmansk/servo,peterjoel/servo,canaltinova/servo,nnethercote/servo,emilio/servo,SimonSapin/servo,saneyuki/servo,szeged/servo,mbrubeck/servo,saneyuki/servo,splav/servo,ConnorGBrewster/servo,dsandeephegde/servo,pyfisch/servo,eddyb/servo,anthgur/servo,SimonSapin/servo,emilio/servo,splav/servo,mbrubeck/servo,peterjoel/servo,cbrewster/servo,emilio/servo,splav/servo,larsbergstrom/servo,SimonSapin/servo,nnethercote/servo,mattnenterprise/servo,canaltinova/servo,DominoTree/servo,DominoTree/servo,thiagopnts/servo,szeged/servo,eddyb/servo,nnethercote/servo,upsuper/servo,splav/servo,mattnenterprise/servo,szeged/servo,larsbergstrom/servo,emilio/servo,nnethercote/servo,upsuper/servo,nnethercote/servo,dati91/servo,pyfisch/servo,anthgur/servo,larsbergstrom/servo,KiChjang/servo,cbrewster/servo,szeged/servo,larsbergstrom/servo,dsandeephegde/servo,mattnenterprise/servo,splav/servo,emilio/servo,peterjoel/servo,nnethercote/servo,thiagopnts/servo,splav/servo,rnestler/servo,dsandeephegde/servo,peterjoel/servo,eddyb/servo,rnestler/servo,upsuper/servo,thiagopnts/servo,splav/servo,SimonSapin/servo,CJ8664/servo,dsandeephegde/servo,CJ8664/servo,DominoTree/servo,CJ8664/servo,anthgur/servo,paulrouget/servo,mattnenterprise/servo,nnethercote/servo,emilio/servo,dati91/servo