title: How to compare two HTML page contents efficiently
body: <p>I have two HTML pages, whose source code I want to compare. I have converted the page source to strings, and I need to know what will be the best way to compare both huge strings.</p>
  
  <ul>
  <li>Shall I use normal compare methods e.g., <code>page1.eql?(page2)</code>?</li>
  <li>Does <code>str.eql?(str1)</code> also compare symbols e.g., <code>@</code>?</li>
  </ul>
  
  <p>I would really appreciate to know the best approach for comparison.</p>